Skip to content

DiGi.Rhino.Geometry.Random.Classes

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

DiGi.Rhino.Geometry.Random.Classes Namespace

Classes

Point2DByRange Class

A Grasshopper component that generates a random 2D point within specified X and Y range intervals.

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

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

Constructors

Point2DByRange() Constructor

Initializes a new instance of object.

public Point2DByRange();

Properties

Point2DByRange.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

Point2DByRange.Exposure Property

Gets the exposure level of the component, which determines its visual priority in the Grasshopper canvas.

public override GH_Exposure Exposure { get; }

Property Value

Grasshopper.Kernel.GH_Exposure

Point2DByRange.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[]

Point2DByRange.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

Point2DByRange.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.

Polygon2DByRange Class

A Grasshopper component that generates a random 2D polygon based on specified X and Y range intervals.

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

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

Constructors

Polygon2DByRange() Constructor

Initializes a new instance of object.

public Polygon2DByRange();

Properties

Polygon2DByRange.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

Polygon2DByRange.Exposure Property

Gets the exposure level of the component, determining how it is displayed in the Grasshopper canvas.

public override GH_Exposure Exposure { get; }

Property Value

Grasshopper.Kernel.GH_Exposure

Polygon2DByRange.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[]

Polygon2DByRange.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

Polygon2DByRange.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.

PolygonalFace2DByRange Class

A Grasshopper component that generates a random 2D polygonal face based on specified coordinate ranges, point counts, and internal edge counts.

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

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

Constructors

PolygonalFace2DByRange() Constructor

Initializes a new instance of object.

public PolygonalFace2DByRange();

Properties

PolygonalFace2DByRange.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

PolygonalFace2DByRange.Exposure Property

Gets or sets the exposure level of the component in the Grasshopper canvas.

public override GH_Exposure Exposure { get; }

Property Value

Grasshopper.Kernel.GH_Exposure

PolygonalFace2DByRange.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[]

PolygonalFace2DByRange.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

PolygonalFace2DByRange.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.

Segment2DByRange Class

A Grasshopper component that generates a random 2D line segment based on specified X and Y coordinate ranges.

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

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

Constructors

Segment2DByRange() Constructor

Initializes a new instance of the Segment2DByRange class.

public Segment2DByRange();

Properties

Segment2DByRange.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

Segment2DByRange.Exposure Property

Gets the exposure level of the component.

public override GH_Exposure Exposure { get; }

Property Value

Grasshopper.Kernel.GH_Exposure

Segment2DByRange.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[]

Segment2DByRange.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

Segment2DByRange.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