Swaps two points in the point set.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
| C# |
|---|
public void Swap( int index1, int index2 ) |
| Visual Basic (Declaration) |
|---|
Public Sub Swap ( _ index1 As Integer, _ index2 As Integer _ ) |
| Visual C++ |
|---|
public: void Swap( int index1, int index2 ) |
Parameters
- index1
- Type: System..::.Int32
The index of the first point to swap.
- index2
- Type: System..::.Int32
the index of the second point to swap.
Remarks
The points swapped are new instances after swapping.