Click or drag to resize

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)
Syntax
public bool TryGetPlane(
	out PlaneSurface plane
)

Parameters

plane
Type: Rhino.GeometryPlaneSurface
Gets set to the plane primitive for this object on success or null on error.

Return Value

Type: Boolean
Returns true if PrimitiveType is Plane and the plane parameter was initialized otherwise returns false.
Version Information

Rhino for Windows

Supported in: 6.5
See Also