RhinoCommon API
RenderPrimitiveTryGetPlane Method |
Call this method to get a Plane primitive for this mesh. If this
meshes PrimitiveType is not a Plane
then the plane parameter is set to null.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.7
public bool TryGetPlane( out PlaneSurface plane )
Public Function TryGetPlane ( <OutAttribute> ByRef plane As PlaneSurface ) As Boolean
Parameters
- plane
- Type: Rhino.GeometryPlaneSurface
Gets set to the plane primitive for this object on success or null on error.
Return Value
Type: BooleanReturns true if PrimitiveType is Plane and the plane parameter was initialized otherwise returns false.