M_Rhino_Geometry_MeshNgon_CompareTo - mcneel/rhinocommon-api-docs GitHub Wiki

MeshNgon.CompareTo Method

Compares this MeshNgon with otherNgon and returns a value of 1, 0, or -1. Priority is for vertex count, then face count, then vertex index list values, then face index list values.

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

Syntax

C#

public int CompareTo(
	MeshNgon otherNgon
)

VB

Public Function CompareTo ( 
	otherNgon As MeshNgon
) As Integer

Parameters

 

otherNgon
Type: Rhino.Geometry.MeshNgon
The other MeshNgon to use in comparison.

Return Value

Type: Int32
0: if this is identical to otherNgon

-1: if this < otherNgon.

+1: if this > otherNgon.

Implements

IComparable(T).CompareTo(T)

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

MeshNgon Class
Rhino.Geometry Namespace

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