|
Vector3CompareTo Method
|
compares this to other vector based on the distance to the origin.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic int CompareTo(
Vector3 other
)
Public Function CompareTo (
other As Vector3
) As Integer
public:
virtual int CompareTo(
Vector3 other
) sealed
abstract CompareTo :
other : Vector3 -> int
override CompareTo :
other : Vector3 -> int
Parameters
- other
- Type: Karamba.GeometryVector3
other vector.
Return Value
Type:
Int32true if both vectors have same distance to the origin.
Implements
IComparableTCompareTo(T)
See Also