GH_ConvertToComplex_Primary Method |
Performs a direct cast from Complex or GH_ComplexNumber
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool ToComplex_Primary(
Object data,
ref Complex destination
)
Public Shared Function ToComplex_Primary (
data As Object,
ByRef destination As Complex
) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert. - destination
- Type: Grasshopper.Kernel.TypesComplex
Target for value assignment.
Return Value
Type:
BooleanTrue on success, false on failure.
See Also