M_Rhino_Geometry_Point2f_CompareTo - mcneel/rhinocommon-api-docs GitHub Wiki

Point2f.CompareTo Method

Compares this Point2f with another Point2f. Coordinates evaluation priority is first X, then Y.

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

Syntax

C#

public int CompareTo(
	Point2f other
)

VB

Public Function CompareTo ( 
	other As Point2f
) As Integer

Parameters

 

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

Return Value

Type: Int32
0: if this is identical to other

-1: if this.X < other.X

-1: if this.X == other.X and this.Y < other.Y

+1: otherwise.

Implements

IComparable(T).CompareTo(T)

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Point2f Structure
Rhino.Geometry Namespace

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