Click or drag to resize

GH_Interval2D Class

Represents a two-dimensional numeric domain.
Inheritance Hierarchy

Namespace:  Grasshopper.Kernel.Types
Assembly:  Grasshopper (in Grasshopper.dll)
public class GH_Interval2D : GH_Goo<UVInterval>

The GH_Interval2D type exposes the following members.

Public methodGH_Interval2D
Default constructor. Creates two empty intervals.
Public methodGH_Interval2D(GH_Interval2D)
Create a duplicate of another two-dimensional interval
Public methodGH_Interval2D(UVInterval)
Duplicates a one-dimensional interval in both directions.
Public propertyIsValid
Gets the validity of this instance. Valid intervals contain no #NaN extremes
(Overrides GH_GooTIsValid.)
Public propertyIsValidWhyNot
Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
(Overrides GH_GooTIsValidWhyNot.)
Public propertyTypeDescription (Overrides GH_GooTTypeDescription.)
Public propertyTypeName (Overrides GH_GooTTypeName.)
Public propertyValue
Gets or sets the internal data.
(Inherited from GH_GooT.)
Public methodCastFrom
Remote to Local caster function. This stuff is complex, don't concern yourself with casting logic.
(Overrides GH_GooTCastFrom(Object).)
Public methodCastToQ(Q)
Attempt a cast to type Q.
(Inherited from GH_GooT.)
Public methodCastToT(T)
Local to Remote caster function. this stuff is complex, don't concern yourself with casting logic.
(Overrides GH_GooTCastToQ(Q).)
Public methodDuplicate
Create a duplicate of this interval.
(Overrides GH_GooTDuplicate.)
Public methodDuplicateInterval
Create a duplicate of this interval.
Public methodEmitProxy
Returns a proxy that represents this interval. Do not call this function unless you're
(Overrides GH_GooTEmitProxy.)
Public methodRead (Overrides GH_GooTRead(GH_IReader).)
Public methodScriptVariable
This function will be called when the local IGH_Goo instance disappears into a user Script. This would be an excellent place to cast your IGH_Goo type to a simple data type.
(Inherited from GH_GooT.)
Public methodToString
Format the interval using default grasshopper formatting logic.
(Overrides GH_GooTToString.)
Public methodWrite (Overrides GH_GooTWrite(GH_IWriter).)
See Also