M_Rhino_Geometry_RTree_CreateMeshFaceTree - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public static RTree CreateMeshFaceTree(
Mesh mesh
)
VB
Public Shared Function CreateMeshFaceTree (
mesh As Mesh
) As RTree
- mesh
- Type: Rhino.Geometry.Mesh
A mesh.
Type: RTree
A new tree, or null on error.
Supported in: 6.0.16224.21491, 5D58w