RhinoCommon API
Vector3dCompareTo Method |
Compares this Vector3d with another Vector3d.
Component evaluation priority is first X, then Y, then Z.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public int CompareTo( Vector3d other )
Public Function CompareTo ( other As Vector3d ) As Integer
Parameters
- other
- Type: Rhino.GeometryVector3d
The other Vector3d to use in comparison.
Return Value
Type: Int320: 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.