Click or drag to resize
InteropCreateFromNativePointer Method
Constructs a RhinoCommon Geometry class from a given ON_Geomety*. The ON_Geometry* must be declared on the heap and its lifetime becomes controlled by RhinoCommon.

Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static GeometryBase CreateFromNativePointer(
	IntPtr pGeometry
)

Parameters

pGeometry
Type: SystemIntPtr
ON_Geometry*

Return Value

Type: GeometryBase
The appropriate geometry class in RhinoCommon on success.
See Also