-
Notifications
You must be signed in to change notification settings - Fork 0
DiGi.Rhino.Geometry.Random.Classes
A Grasshopper component that generates a random 2D point within specified X and Y range intervals.
public class Point2DByRange : DiGi.Rhino.Core.Classes.VariableParameterComponentInheritance Grasshopper.Kernel.GH_Component → DiGi.Rhino.Core.Classes.Component → Grasshopper.Kernel.IGH_VariableParameterComponent → DiGi.Rhino.Core.Classes.VariableParameterComponent → Point2DByRange
Initializes a new instance of object.
public Point2DByRange();Gets the unique ID for this component. Do not change this ID after release.
public override System.Guid ComponentGuid { get; }Gets the exposure level of the component, which determines its visual priority in the Grasshopper canvas.
public override GH_Exposure Exposure { get; }Grasshopper.Kernel.GH_Exposure
Registers all the input parameters for this component.
protected override DiGi.Rhino.Core.Classes.Param[] Inputs { protected get; }DiGi.Rhino.Core.Classes.Param[]
Registers all the output parameters for this component.
protected override DiGi.Rhino.Core.Classes.Param[] Outputs { protected get; }DiGi.Rhino.Core.Classes.Param[]
This is the method that actually does the work.
protected override void SolveInstance(IGH_DataAccess dataAccess);dataAccess Grasshopper.Kernel.IGH_DataAccess
The DA object is used to retrieve from inputs and store in outputs.
A Grasshopper component that generates a random 2D polygon based on specified X and Y range intervals.
public class Polygon2DByRange : DiGi.Rhino.Core.Classes.VariableParameterComponentInheritance Grasshopper.Kernel.GH_Component → DiGi.Rhino.Core.Classes.Component → Grasshopper.Kernel.IGH_VariableParameterComponent → DiGi.Rhino.Core.Classes.VariableParameterComponent → Polygon2DByRange
Initializes a new instance of object.
public Polygon2DByRange();Gets the unique ID for this component. Do not change this ID after release.
public override System.Guid ComponentGuid { get; }Gets the exposure level of the component, determining how it is displayed in the Grasshopper canvas.
public override GH_Exposure Exposure { get; }Grasshopper.Kernel.GH_Exposure
Registers all the input parameters for this component.
protected override DiGi.Rhino.Core.Classes.Param[] Inputs { protected get; }DiGi.Rhino.Core.Classes.Param[]
Registers all the output parameters for this component.
protected override DiGi.Rhino.Core.Classes.Param[] Outputs { protected get; }DiGi.Rhino.Core.Classes.Param[]
This is the method that actually does the work.
protected override void SolveInstance(IGH_DataAccess dataAccess);dataAccess Grasshopper.Kernel.IGH_DataAccess
The DA object is used to retrieve from inputs and store in outputs.
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.VariableParameterComponentInheritance Grasshopper.Kernel.GH_Component → DiGi.Rhino.Core.Classes.Component → Grasshopper.Kernel.IGH_VariableParameterComponent → DiGi.Rhino.Core.Classes.VariableParameterComponent → PolygonalFace2DByRange
Initializes a new instance of object.
public PolygonalFace2DByRange();Gets the unique ID for this component. Do not change this ID after release.
public override System.Guid ComponentGuid { get; }Gets or sets the exposure level of the component in the Grasshopper canvas.
public override GH_Exposure Exposure { get; }Grasshopper.Kernel.GH_Exposure
Registers all the input parameters for this component.
protected override DiGi.Rhino.Core.Classes.Param[] Inputs { protected get; }DiGi.Rhino.Core.Classes.Param[]
Registers all the output parameters for this component.
protected override DiGi.Rhino.Core.Classes.Param[] Outputs { protected get; }DiGi.Rhino.Core.Classes.Param[]
This is the method that actually does the work.
protected override void SolveInstance(IGH_DataAccess dataAccess);dataAccess Grasshopper.Kernel.IGH_DataAccess
The DA object is used to retrieve from inputs and store in outputs.
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.VariableParameterComponentInheritance Grasshopper.Kernel.GH_Component → DiGi.Rhino.Core.Classes.Component → Grasshopper.Kernel.IGH_VariableParameterComponent → DiGi.Rhino.Core.Classes.VariableParameterComponent → Segment2DByRange
Initializes a new instance of the Segment2DByRange class.
public Segment2DByRange();Gets the unique ID for this component. Do not change this ID after release.
public override System.Guid ComponentGuid { get; }Gets the exposure level of the component.
public override GH_Exposure Exposure { get; }Grasshopper.Kernel.GH_Exposure
Registers all the input parameters for this component.
protected override DiGi.Rhino.Core.Classes.Param[] Inputs { protected get; }DiGi.Rhino.Core.Classes.Param[]
Registers all the output parameters for this component.
protected override DiGi.Rhino.Core.Classes.Param[] Outputs { protected get; }DiGi.Rhino.Core.Classes.Param[]
This is the method that actually does the work.
protected override void SolveInstance(IGH_DataAccess dataAccess);dataAccess Grasshopper.Kernel.IGH_DataAccess
The DA object is used to retrieve from inputs and store in outputs.