Sort an array of points using quicksort.
More...
|
static void | Sort (Vertex[] array, int seed=RANDOM_SEED) |
| Sorts the given vertex array by x-coordinate.
|
|
static void | Alternate (Vertex[] array, int length, int seed=RANDOM_SEED) |
| Impose alternating cuts on given vertex array.
|
|
Sort an array of points using quicksort.
◆ Alternate()
static void TriangleNet.Tools.VertexSorter.Alternate |
( |
Vertex[] |
array, |
|
|
int |
length, |
|
|
int |
seed = RANDOM_SEED |
|
) |
| |
|
inlinestatic |
Impose alternating cuts on given vertex array.
- Parameters
-
array | The vertex array. |
length | The number of vertices to sort. |
seed | Random seed used for pivoting. |
◆ Sort()
static void TriangleNet.Tools.VertexSorter.Sort |
( |
Vertex[] |
array, |
|
|
int |
seed = RANDOM_SEED |
|
) |
| |
|
inlinestatic |
Sorts the given vertex array by x-coordinate.
- Parameters
-
array | The vertex array. |
seed | Random seed used for pivoting. |
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/TriangleNet/Scripts/Source/Tools/VertexSorter.cs