M_Rhino_Geometry_Vector3f_CompareTo - mcneel/rhinocommon-api-docs GitHub Wiki
Compares this Vector3f with another Vector3f. Component evaluation priority is first X, then Y, then Z.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int CompareTo(
Vector3f other
)
VB
Public Function CompareTo (
other As Vector3f
) As Integer
- other
- Type: Rhino.Geometry.Vector3f
The other Vector3f to use in comparison.
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: if this.X == other.X and this.Y == other.Y and this.Z < other.Z
+1: otherwise.
Supported in: 6.0.16224.21491, 5D58w