The standard comparer. Sorts points in a list in a lexicographical xyz-order.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
| C# |
|---|
public int CompareTo( Point point ) |
| Visual Basic (Declaration) |
|---|
Public Function CompareTo ( _ point As Point _ ) As Integer |
| Visual C++ |
|---|
public: virtual int CompareTo( Point^ point ) sealed |
Parameters
- point
- Type: ceometric.VectorGeometry..::.Point
A point to compare.
Return Value
Returns the result of the comparison.Implements
IComparable<(Of <(T>)>)..::.CompareTo(T)
Remarks
If L is a list of points, then L.Sort(); sorts the list in lexicographical order X-Y-Z.
Set the global epsilon variables to zero before comparing, otherwise points may be sorted incorrect within the range of the global epsilon variables.