M_Rhino_Geometry_MeshFace_CompareTo - mcneel/rhinocommon-api-docs GitHub Wiki

MeshFace.CompareTo Method

Compares this MeshFace with another MeshFace and returns a value of 1, 0, or -1, referring to dictionary order. Index evaluation priority is first A, then B, then C, then D.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public int CompareTo(
	MeshFace other
)

VB

Public Function CompareTo ( 
	other As MeshFace
) As Integer

Parameters

 

other
Type: Rhino.Geometry.MeshFace
The other MeshFace to use in comparison.

Return Value

Type: Int32
0: if this is identical to other

-1: if this < other. Priority is for index of corner A first, then B, then C, then D.

+1: otherwise.

Implements

IComparable(T).CompareTo(T)

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

MeshFace Structure
Rhino.Geometry Namespace

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