M_Rhino_Geometry_RTree_CreateMeshFaceTree - mcneel/rhinocommon-api-docs GitHub Wiki

RTree.CreateMeshFaceTree 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) Version: Rhino 6.0

Syntax

C#

public static RTree CreateMeshFaceTree(
	Mesh mesh
)

VB

Public Shared Function CreateMeshFaceTree ( 
	mesh As Mesh
) As RTree

Parameters

 

mesh
Type: Rhino.Geometry.Mesh
A mesh.

Return Value

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

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

RTree Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️