Skip to content

DiGi.Rhino.Geometry.Planar.Classes

github-actions[bot] edited this page Jul 15, 2026 · 2 revisions

DiGi.Rhino.Geometry.Planar.Classes Namespace

Classes

GooBoundingBox2D Class

Represents a Grasshopper Goo wrapper for a 2D bounding box, allowing it to be passed through Grasshopper wires.

public class GooBoundingBox2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.BoundingBox2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Classes.BoundingBox2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Classes.BoundingBox2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.BoundingBox2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.BoundingBox2D> → GooBoundingBox2D

Constructors

GooBoundingBox2D() Constructor

Initializes a new instance of the GooBoundingBox2D class.

public GooBoundingBox2D();

GooBoundingBox2D(BoundingBox2D) Constructor

Initializes a new instance of the GooBoundingBox2D class with the specified 2D bounding box.

public GooBoundingBox2D(DiGi.Geometry.Planar.Classes.BoundingBox2D? boundingBox2D);

Parameters

boundingBox2D DiGi.Geometry.Planar.Classes.BoundingBox2D

The 2D bounding box to wrap.

GooBoundingBox2D(GooBoundingBox2D) Constructor

Initializes a new instance of the GooBoundingBox2D class by copying another Goo bounding box wrapper.

public GooBoundingBox2D(DiGi.Rhino.Geometry.Planar.Classes.GooBoundingBox2D? gooBoundingBox2D);

Parameters

gooBoundingBox2D GooBoundingBox2D

The source Goo bounding box wrapper to copy from.

Methods

GooBoundingBox2D.Duplicate() Method

Creates a duplicate of the current Goo bounding box.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A duplicated Grasshopper.Kernel.Types.IGH_Goo object.

GooBoundingBox2DParam Class

Represents a Grasshopper parameter used to handle 2D bounding box data in component inputs and outputs.

public class GooBoundingBox2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.BoundingBox2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.BoundingBox2D>,DiGi.Geometry.Planar.Classes.BoundingBox2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.BoundingBox2D>,DiGi.Geometry.Planar.Classes.BoundingBox2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.BoundingBox2D> → GooBoundingBox2DParam

Constructors

GooBoundingBox2DParam() Constructor

Initializes a new instance of the GooBoundingBox2DParam class.

public GooBoundingBox2DParam();

Properties

GooBoundingBox2DParam.ComponentGuid Property

Gets the unique identifier for the 2D bounding box component parameter.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid
The GUID associated with this parameter type.

GooBoundingBox3D Class

Represents a Goo wrapper for a three-dimensional bounding box.

public class GooBoundingBox3D : DiGi.Rhino.Geometry.Spatial.Classes.GooGeometry3D<DiGi.Geometry.Spatial.Classes.BoundingBox3D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Spatial.Classes.BoundingBox3D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Spatial.Classes.BoundingBox3D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Spatial.Classes.BoundingBox3D>DiGi.Rhino.Geometry.Spatial.Classes.GooGeometry3D<DiGi.Geometry.Spatial.Classes.BoundingBox3D> → GooBoundingBox3D

Constructors

GooBoundingBox3D() Constructor

Initializes a new instance of the GooBoundingBox3D class.

public GooBoundingBox3D();

GooBoundingBox3D(BoundingBox3D) Constructor

Initializes a new instance of the GooBoundingBox3D class with the specified bounding box.

public GooBoundingBox3D(DiGi.Geometry.Spatial.Classes.BoundingBox3D boundingBox3D);

Parameters

boundingBox3D DiGi.Geometry.Spatial.Classes.BoundingBox3D

The bounding box to wrap.

GooBoundingBox3D(GooBoundingBox3D) Constructor

Initializes a new instance of the GooBoundingBox3D class by copying another Goo bounding box.

public GooBoundingBox3D(DiGi.Rhino.Geometry.Planar.Classes.GooBoundingBox3D gooBoundingBox3D);

Parameters

gooBoundingBox3D GooBoundingBox3D

The source Goo bounding box to copy.

Methods

GooBoundingBox3D.Duplicate() Method

Creates a duplicate of the current Goo bounding box.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A duplicate Grasshopper.Kernel.Types.IGH_Goo object.

GooBoundingBox3DParam Class

Represents the Grasshopper parameter type for GooBoundingBox3D.

public class GooBoundingBox3DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Spatial.Classes.BoundingBox3D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Spatial.Classes.BoundingBox3D>,DiGi.Geometry.Spatial.Classes.BoundingBox3D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Spatial.Classes.BoundingBox3D>,DiGi.Geometry.Spatial.Classes.BoundingBox3D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Spatial.Classes.BoundingBox3D> → GooBoundingBox3DParam

Constructors

GooBoundingBox3DParam() Constructor

Initializes a new instance of the GooBoundingBox3DParam class.

public GooBoundingBox3DParam();

Properties

GooBoundingBox3DParam.ComponentGuid Property

Gets the unique identifier for the component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

GooEllipse2D Class

Represents a Grasshopper Goo wrapper for a 2D ellipse.

public class GooEllipse2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Ellipse2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Classes.Ellipse2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Classes.Ellipse2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Ellipse2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Ellipse2D> → GooEllipse2D

Constructors

GooEllipse2D() Constructor

Initializes a new instance of the GooEllipse2D class.

public GooEllipse2D();

GooEllipse2D(Ellipse2D) Constructor

Initializes a new instance of the GooEllipse2D class with the specified 2D ellipse.

public GooEllipse2D(DiGi.Geometry.Planar.Classes.Ellipse2D? ellipse2D);

Parameters

ellipse2D DiGi.Geometry.Planar.Classes.Ellipse2D

The 2D ellipse to wrap.

Methods

GooEllipse2D.Duplicate() Method

Creates a duplicate of this Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new Grasshopper.Kernel.Types.IGH_Goo instance containing the same value.

GooEllipse2DParam Class

Represents a Grasshopper parameter type for 2D ellipses.

public class GooEllipse2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Ellipse2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Ellipse2D>,DiGi.Geometry.Planar.Classes.Ellipse2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Ellipse2D>,DiGi.Geometry.Planar.Classes.Ellipse2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Ellipse2D> → GooEllipse2DParam

Constructors

GooEllipse2DParam() Constructor

Initializes a new instance of the GooEllipse2DParam class.

public GooEllipse2DParam();

Properties

GooEllipse2DParam.ComponentGuid Property

Gets the unique identifier for the component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

GooGeometry2D Class

Represents a Goo wrapper for 2D geometry implementing DiGi.Geometry.Planar.Interfaces.IGeometry2D.

public class GooGeometry2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Interfaces.IGeometry2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Interfaces.IGeometry2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Interfaces.IGeometry2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Interfaces.IGeometry2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Interfaces.IGeometry2D> → GooGeometry2D

Constructors

GooGeometry2D() Constructor

Initializes a new instance of the GooGeometry2D class.

public GooGeometry2D();

GooGeometry2D(IGeometry2D) Constructor

Initializes a new instance of the GooGeometry2D class with the specified geometry.

public GooGeometry2D(DiGi.Geometry.Planar.Interfaces.IGeometry2D? geometry2D);

Parameters

geometry2D DiGi.Geometry.Planar.Interfaces.IGeometry2D

The 2D geometry to wrap.

Methods

GooGeometry2D.Duplicate() Method

Creates a duplicate of the current Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new instance of GooGeometry2D containing the same value.

GooGeometry2D<T> Class

Represents a Goo wrapper for 2D geometry of type T.

public class GooGeometry2D<T> : DiGi.Rhino.Geometry.Core.Classes.GooGeometry<T>
    where T : DiGi.Geometry.Planar.Interfaces.IGeometry2D

Type parameters

T

The type of the 2D geometry, which must implement DiGi.Geometry.Planar.Interfaces.IGeometry2D.

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<T>DiGi.Rhino.Core.Classes.GooSerializableObject<T>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<T> → GooGeometry2D<T>

Derived
GooBoundingBox2D
GooEllipse2D
GooGeometry2D
GooPoint2D
GooPolygon2D
GooPolygonal2D
GooPolygonalFace2D
GooRectangle2D
GooSegment2D
GooVector2D

Constructors

GooGeometry2D() Constructor

Initializes a new instance of the GooGeometry2D<T> class.

public GooGeometry2D();

GooGeometry2D(T) Constructor

Initializes a new instance of the GooGeometry2D<T> class with the specified geometry.

public GooGeometry2D(T? geometry2D);

Parameters

geometry2D T

The 2D geometry to wrap.

Methods

GooGeometry2D<T>.Duplicate() Method

Creates a duplicate of the current Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new instance of GooGeometry2D<T> containing the same value.

GooGeometry2DParam Class

Represents a Grasshopper parameter for 2D geometry.

public class GooGeometry2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Interfaces.IGeometry2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Interfaces.IGeometry2D>,DiGi.Geometry.Planar.Interfaces.IGeometry2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Interfaces.IGeometry2D>,DiGi.Geometry.Planar.Interfaces.IGeometry2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Interfaces.IGeometry2D> → GooGeometry2DParam

Constructors

GooGeometry2DParam() Constructor

Initializes a new instance of the GooGeometry2DParam class.

public GooGeometry2DParam();

Properties

GooGeometry2DParam.ComponentGuid Property

Gets the unique identifier for the component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

GooPoint2D Class

Represents a Grasshopper Goo wrapper for a 2D point.

public class GooPoint2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Point2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Classes.Point2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Classes.Point2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Point2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Point2D> → GooPoint2D

Constructors

GooPoint2D() Constructor

Initializes a new instance of the GooPoint2D class.

public GooPoint2D();

GooPoint2D(Point2D) Constructor

Initializes a new instance of the GooPoint2D class with the specified 2D point.

public GooPoint2D(DiGi.Geometry.Planar.Classes.Point2D? point2D);

Parameters

point2D DiGi.Geometry.Planar.Classes.Point2D

The 2D point to wrap.

Methods

GooPoint2D.Duplicate() Method

Creates a duplicate of this Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new Grasshopper.Kernel.Types.IGH_Goo instance containing the same value.

GooPoint2DParam Class

Represents a Grasshopper parameter for 2D points.

public class GooPoint2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Point2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Point2D>,DiGi.Geometry.Planar.Classes.Point2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Point2D>,DiGi.Geometry.Planar.Classes.Point2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Point2D> → GooPoint2DParam

Constructors

GooPoint2DParam() Constructor

Initializes a new instance of the GooPoint2DParam class.

public GooPoint2DParam();

Properties

GooPoint2DParam.ComponentGuid Property

Gets the unique identifier for the component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

GooPolygon2D Class

Represents a Grasshopper Goo wrapper for a DiGi.Geometry.Planar.Classes.Polygon2D.

public class GooPolygon2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Polygon2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Classes.Polygon2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Classes.Polygon2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Polygon2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Polygon2D> → GooPolygon2D

Constructors

GooPolygon2D() Constructor

Initializes a new instance of the GooPolygon2D class.

public GooPolygon2D();

GooPolygon2D(Polygon2D) Constructor

Initializes a new instance of the GooPolygon2D class with the specified 2D polygon.

public GooPolygon2D(DiGi.Geometry.Planar.Classes.Polygon2D? polygon2D);

Parameters

polygon2D DiGi.Geometry.Planar.Classes.Polygon2D

The 2D polygon to wrap.

Methods

GooPolygon2D.Duplicate() Method

Creates a duplicate of this Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new Grasshopper.Kernel.Types.IGH_Goo instance containing the same value.

GooPolygon2DParam Class

Represents a Grasshopper parameter type for 2D polygons.

public class GooPolygon2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Polygon2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Polygon2D>,DiGi.Geometry.Planar.Classes.Polygon2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Polygon2D>,DiGi.Geometry.Planar.Classes.Polygon2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Polygon2D> → GooPolygon2DParam

Constructors

GooPolygon2DParam() Constructor

Initializes a new instance of the GooPolygon2DParam class.

public GooPolygon2DParam();

Properties

GooPolygon2DParam.ComponentGuid Property

Gets the unique identifier for the component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

GooPolygonal2D Class

Represents a Grasshopper Goo wrapper for 2D polygonal geometry.

public class GooPolygonal2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Interfaces.IPolygonal2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Interfaces.IPolygonal2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Interfaces.IPolygonal2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Interfaces.IPolygonal2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Interfaces.IPolygonal2D> → GooPolygonal2D

Constructors

GooPolygonal2D() Constructor

Initializes a new instance of the GooPolygonal2D class.

public GooPolygonal2D();

GooPolygonal2D(IPolygonal2D) Constructor

Initializes a new instance of the GooPolygonal2D class with the specified polygonal geometry.

public GooPolygonal2D(DiGi.Geometry.Planar.Interfaces.IPolygonal2D? polygonal2D);

Parameters

polygonal2D DiGi.Geometry.Planar.Interfaces.IPolygonal2D

The 2D polygonal geometry to wrap.

Methods

GooPolygonal2D.Duplicate() Method

Creates a duplicate of this Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new Grasshopper.Kernel.Types.IGH_Goo instance containing the same value.

GooPolygonal2DParam Class

Represents a Grasshopper parameter for 2D polygonal geometry.

public class GooPolygonal2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Interfaces.IPolygonal2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Interfaces.IPolygonal2D>,DiGi.Geometry.Planar.Interfaces.IPolygonal2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Interfaces.IPolygonal2D>,DiGi.Geometry.Planar.Interfaces.IPolygonal2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Interfaces.IPolygonal2D> → GooPolygonal2DParam

Constructors

GooPolygonal2DParam() Constructor

Initializes a new instance of the GooPolygonal2DParam class.

public GooPolygonal2DParam();

Properties

GooPolygonal2DParam.ComponentGuid Property

Gets the unique identifier for the GooPolygonal2DParam component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

GooPolygonalFace2D Class

Represents a Grasshopper wrapper for a DiGi.Geometry.Planar.Classes.PolygonalFace2D.

public class GooPolygonalFace2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.PolygonalFace2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Classes.PolygonalFace2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Classes.PolygonalFace2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.PolygonalFace2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.PolygonalFace2D> → GooPolygonalFace2D

Constructors

GooPolygonalFace2D() Constructor

Initializes a new instance of the GooPolygonalFace2D class.

public GooPolygonalFace2D();

GooPolygonalFace2D(PolygonalFace2D) Constructor

Initializes a new instance of the GooPolygonalFace2D class with the specified polygonal face.

public GooPolygonalFace2D(DiGi.Geometry.Planar.Classes.PolygonalFace2D? polygonalFace2D);

Parameters

polygonalFace2D DiGi.Geometry.Planar.Classes.PolygonalFace2D

The 2D polygonal face to wrap.

GooPolygonalFace2D(GooPolygonalFace2D) Constructor

Initializes a new instance of the GooPolygonalFace2D class by copying another wrapper.

public GooPolygonalFace2D(DiGi.Rhino.Geometry.Planar.Classes.GooPolygonalFace2D? gooPolygonalFace2D);

Parameters

gooPolygonalFace2D GooPolygonalFace2D

The source wrapper to copy from.

Methods

GooPolygonalFace2D.Duplicate() Method

Creates a duplicate of the current object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A duplicated Grasshopper.Kernel.Types.IGH_Goo object.

GooPolygonalFace2DParam Class

Represents the parameter type for 2D polygonal faces in Grasshopper.

public class GooPolygonalFace2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.PolygonalFace2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.PolygonalFace2D>,DiGi.Geometry.Planar.Classes.PolygonalFace2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.PolygonalFace2D>,DiGi.Geometry.Planar.Classes.PolygonalFace2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.PolygonalFace2D> → GooPolygonalFace2DParam

Constructors

GooPolygonalFace2DParam() Constructor

Initializes a new instance of the GooPolygonalFace2DParam class.

public GooPolygonalFace2DParam();

Properties

GooPolygonalFace2DParam.ComponentGuid Property

Gets the unique identifier for the component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

GooRectangle2D Class

Represents a Grasshopper Goo wrapper for a DiGi.Geometry.Planar.Classes.Rectangle2D.

public class GooRectangle2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Rectangle2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Classes.Rectangle2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Classes.Rectangle2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Rectangle2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Rectangle2D> → GooRectangle2D

Constructors

GooRectangle2D() Constructor

Initializes a new instance of the GooRectangle2D class.

public GooRectangle2D();

GooRectangle2D(Rectangle2D) Constructor

Initializes a new instance of the GooRectangle2D class with the specified 2D rectangle.

public GooRectangle2D(DiGi.Geometry.Planar.Classes.Rectangle2D? rectangle2D);

Parameters

rectangle2D DiGi.Geometry.Planar.Classes.Rectangle2D

The 2D rectangle to wrap.

Methods

GooRectangle2D.Duplicate() Method

Creates a duplicate of this Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new instance of GooRectangle2D containing the same value.

GooRectangle2DParam Class

Represents a Grasshopper parameter for 2D rectangles.

public class GooRectangle2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Rectangle2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Rectangle2D>,DiGi.Geometry.Planar.Classes.Rectangle2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Rectangle2D>,DiGi.Geometry.Planar.Classes.Rectangle2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Rectangle2D> → GooRectangle2DParam

Constructors

GooRectangle2DParam() Constructor

Initializes a new instance of the GooRectangle2DParam class.

public GooRectangle2DParam();

Properties

GooRectangle2DParam.ComponentGuid Property

Gets the unique identifier for the component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid
The GUID associated with this parameter type.

GooSegment2D Class

Represents a Grasshopper Goo wrapper for a 2D line segment.

public class GooSegment2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Segment2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Classes.Segment2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Classes.Segment2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Segment2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Segment2D> → GooSegment2D

Constructors

GooSegment2D() Constructor

Initializes a new instance of the GooSegment2D class.

public GooSegment2D();

GooSegment2D(Segment2D) Constructor

Initializes a new instance of the GooSegment2D class with the specified 2D segment.

public GooSegment2D(DiGi.Geometry.Planar.Classes.Segment2D? segment2D);

Parameters

segment2D DiGi.Geometry.Planar.Classes.Segment2D

The 2D segment to wrap.

Methods

GooSegment2D.Duplicate() Method

Creates a duplicate of this Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new instance of GooSegment2D containing the same value.

GooSegment2DParam Class

Represents the Grasshopper parameter type for 2D line segments.

public class GooSegment2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Segment2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Segment2D>,DiGi.Geometry.Planar.Classes.Segment2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Segment2D>,DiGi.Geometry.Planar.Classes.Segment2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Segment2D> → GooSegment2DParam

Constructors

GooSegment2DParam() Constructor

Initializes a new instance of the GooSegment2DParam class.

public GooSegment2DParam();

Properties

GooSegment2DParam.ComponentGuid Property

Gets the unique identifier for the GooSegment2DParam component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

GooVector2D Class

Represents a Grasshopper Goo wrapper for a DiGi.Geometry.Planar.Classes.Vector2D.

public class GooVector2D : DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Vector2D>

Inheritance Grasshopper.Kernel.Types.GH_GooGrasshopper.Kernel.Types.IGH_GooGH_IO.GH_ISerializableDiGi.Rhino.Core.Classes.GooObject<DiGi.Geometry.Planar.Classes.Vector2D>DiGi.Rhino.Core.Classes.GooSerializableObject<DiGi.Geometry.Planar.Classes.Vector2D>Grasshopper.Kernel.IGH_PreviewDataGrasshopper.Kernel.IGH_BakeAwareDataDiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Vector2D>DiGi.Rhino.Geometry.Planar.Classes.GooGeometry2D<DiGi.Geometry.Planar.Classes.Vector2D> → GooVector2D

Constructors

GooVector2D() Constructor

Initializes a new instance of the GooVector2D class.

public GooVector2D();

GooVector2D(Vector2D) Constructor

Initializes a new instance of the GooVector2D class with the specified 2D vector.

public GooVector2D(DiGi.Geometry.Planar.Classes.Vector2D? vector2D);

Parameters

vector2D DiGi.Geometry.Planar.Classes.Vector2D

The 2D vector to wrap.

Methods

GooVector2D.Duplicate() Method

Creates a duplicate of this Goo object.

public override IGH_Goo Duplicate();

Returns

Grasshopper.Kernel.Types.IGH_Goo
A new Grasshopper.Kernel.Types.IGH_Goo instance containing the same value.

GooVector2DParam Class

Represents a Grasshopper parameter used to pass 2D vector data.

public class GooVector2DParam : DiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Vector2D>

Inheritance Grasshopper.Kernel.GH_PersistentParamDiGi.Rhino.Core.Classes.GooPresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Vector2D>,DiGi.Geometry.Planar.Classes.Vector2D>DiGi.Rhino.Core.Classes.GooSerializablePresistentParam<DiGi.Rhino.Geometry.Core.Classes.GooGeometry<DiGi.Geometry.Planar.Classes.Vector2D>,DiGi.Geometry.Planar.Classes.Vector2D>Grasshopper.Kernel.IGH_PreviewObjectGrasshopper.Kernel.IGH_BakeAwareObjectDiGi.Rhino.Geometry.Core.Classes.GooGeometryParam<DiGi.Geometry.Planar.Classes.Vector2D> → GooVector2DParam

Constructors

GooVector2DParam() Constructor

Initializes a new instance of the GooVector2DParam class.

public GooVector2DParam();

Properties

GooVector2DParam.ComponentGuid Property

Gets the unique identifier for the GooVector2DParam component.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

ToGeometry2D Class

A Grasshopper component that converts 3D DiGi geometry to its 2D representation on a specified plane.

public class ToGeometry2D : DiGi.Rhino.Core.Classes.VariableParameterComponent

Inheritance Grasshopper.Kernel.GH_ComponentDiGi.Rhino.Core.Classes.ComponentGrasshopper.Kernel.IGH_VariableParameterComponentDiGi.Rhino.Core.Classes.VariableParameterComponent → ToGeometry2D

Constructors

ToGeometry2D() Constructor

Initializes a new instance of object.

public ToGeometry2D();

Properties

ToGeometry2D.ComponentGuid Property

Gets the unique ID for this component. Do not change this ID after release.

public override System.Guid ComponentGuid { get; }

Property Value

System.Guid

ToGeometry2D.Exposure Property

Gets the exposure of the component, which determines how it is displayed in the Grasshopper canvas.

public override GH_Exposure Exposure { get; }

Property Value

Grasshopper.Kernel.GH_Exposure

ToGeometry2D.Inputs Property

Registers all the input parameters for this component.

protected override DiGi.Rhino.Core.Classes.Param[] Inputs { protected get; }

Property Value

DiGi.Rhino.Core.Classes.Param[]

ToGeometry2D.Outputs Property

Registers all the output parameters for this component.

protected override DiGi.Rhino.Core.Classes.Param[] Outputs { protected get; }

Property Value

DiGi.Rhino.Core.Classes.Param[]

Methods

ToGeometry2D.SolveInstance(IGH_DataAccess) Method

This is the method that actually does the work.

protected override void SolveInstance(IGH_DataAccess dataAccess);

Parameters

dataAccess Grasshopper.Kernel.IGH_DataAccess

The DA object is used to retrieve from inputs and store in outputs.

Clone this wiki locally