MeshFaceListGetFace Method |
Returns the mesh face at the given index.
Namespace:
Rhino.Geometry.Collections
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public MeshFace GetFace(
int index
)
Public Function GetFace (
index As Integer
) As MeshFace
Parameters
- index
- Type: SystemInt32
Index of face to get. Must be larger than or equal to zero and
smaller than the Face Count of the mesh.
Return Value
Type:
MeshFaceThe mesh face at the given index on success or MeshFace.Unset if the index is out of range.
See Also