Helper methods for loading data.
More...
|
static float[,] | OrderOtherCoordsByVertexIndices (int[] vertexIndices, int[] otherIndices, float[,] otherCoords) |
| Reorders a set of coordinates with a given set of indices to match the ordering of the vertex indices. More...
|
|
static int[] | ZeroBased (this IEnumerable< int > initialIndices) |
| Shifts a set of indices so that the minimum value is zero. More...
|
|
Helper methods for loading data.
static float [,] Durwella.Unplugged.Viz.Loading.OrderOtherCoordsByVertexIndices |
( |
int[] |
vertexIndices, |
|
|
int[] |
otherIndices, |
|
|
float |
otherCoords[,] |
|
) |
| |
|
static |
Reorders a set of coordinates with a given set of indices to match the ordering of the vertex indices.
- Returns
- The other coords reordered by the vertex indices.
- Parameters
-
vertexIndices | The vertex indices. |
otherIndices | The indices of the other coordinates. |
otherCoords | The other coordinates. |
static int [] Durwella.Unplugged.Viz.Loading.ZeroBased |
( |
this IEnumerable< int > |
initialIndices | ) |
|
|
static |
Shifts a set of indices so that the minimum value is zero.
- Returns
- The set of indices, shifted so that the minimum is zero.
- Parameters
-
initialIndices | The initial set of indices. |
The documentation for this class was generated from the following file: