Click or drag to resize

GH_Convert.ToGHInterval_Primary Method

Converts similar data into a GH_Interval instance. Data is not quaranteed to be duplicated.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool ToGHInterval_Primary(
	Object data,
	ref GH_Interval target
)

Parameters

data
Type: System.Object
Data to convert
target
Type: Grasshopper.Kernel.Types.GH_Interval
Target instance. If null, a new GH_Interval will be constructed. If not null, the instance values will be set.

Return Value

Type: Boolean
True on success, False on failure.
See Also