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)
Syntaxpublic static GeometryBase CreateFromNativePointer(
IntPtr pGeometry
)
Public Shared Function CreateFromNativePointer (
pGeometry As IntPtr
) As GeometryBase
Parameters
- pGeometry
- Type: SystemIntPtr
ON_Geometry*
Return Value
Type:
GeometryBaseThe appropriate geometry class in RhinoCommon on success.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also