GH_Convert.ToGHPoint_Secondary Method

GH_ConvertToGHPoint_Secondary Method

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

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool ToGHPoint_Secondary(
	Object data,
	ref GH_Point target
)
Public Shared Function ToGHPoint_Secondary ( 
	data As Object,
	ByRef target As GH_Point
) As Boolean

Parameters

data
Type: SystemObject
Data to convert
target
Type: Grasshopper.Kernel.TypesGH_Point
Target instance. If null, a new GH_Point will be constructed. If not null, the instance values will be set.

Return Value

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