Sorts the point set lexicographically.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
| C# |
|---|
public void Sort( PointSet..::.SortOrder sortOrder ) |
| Visual Basic (Declaration) |
|---|
Public Sub Sort ( _ sortOrder As PointSet..::.SortOrder _ ) |
| Visual C++ |
|---|
public: void Sort( PointSet..::.SortOrder sortOrder ) |
Parameters
- sortOrder
- Type: ceometric.VectorGeometry..::.PointSet..::.SortOrder
A sort order for the coordinates X, Y and Z
Remarks
This method sorts points lexicographically in XYZ, XZY, YXZ, YZX, ZXY or ZYX order.
Examples
The following sorts the points in a point set ps lexicographically in ZYX order:
ps.Sort(PointSet.SortOrder.ZYX);