Click or drag to resize

RTreeCreateMeshFaceTree Method

Constructs a new tree with an element for each face in the mesh. The element id is set to the index of the face.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static RTree CreateMeshFaceTree(
	Mesh mesh
)

Parameters

mesh
Type: Rhino.GeometryMesh
A mesh.

Return Value

Type: RTree
A new tree, or null on error.
Version Information

Rhino for Mac

Supported in: 5.4 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also