RenderPrimitiveList.TryGetPlane Method

RenderPrimitiveListTryGetPlane Method

Call this method to get a box at the specified index.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool TryGetPlane(
	int index,
	out PlaneSurface plane
)
Public Function TryGetPlane ( 
	index As Integer,
	<OutAttribute> ByRef plane As PlaneSurface
) As Boolean

Parameters

index
Type: SystemInt32
The zero based index of the item in the list. Valid values are greater than or equal to 0 and less than Count.
plane
Type: Rhino.GeometryPlaneSurface
Will contain the plane at the requested index if the index is in range and the primitive at the requested index is a plane.

Return Value

Type: Boolean
Return true if the index is in range and the primitive at the requested index is a plane otherwise returns false.
Version Information

Rhino for Windows

Supported in: 6.8
See Also