GH_ConvertToGHInterval2D_Primary Method |
Converts similar data into a GH_Interval2D instance.
Data is not quaranteed to be duplicated.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool ToGHInterval2D_Primary(
Object data,
ref GH_Interval2D target
)
Public Shared Function ToGHInterval2D_Primary (
data As Object,
ByRef target As GH_Interval2D
) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - target
- Type: Grasshopper.Kernel.TypesGH_Interval2D
Target instance. If null, a new GH_Interval2D will be constructed.
If not null, the instance values will be set.
Return Value
Type:
BooleanTrue on success, False on failure.
See Also