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)
Since: 5.7
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.
See Also