Unplugged Viz
High-performance scientific visualization isn't just for the workstation anymore
Durwella.Unplugged.Viz.Loading Class Reference

Helper methods for loading data. More...

Static Public Member Functions

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...
 

Detailed Description

Helper methods for loading data.

Member Function Documentation

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
vertexIndicesThe vertex indices.
otherIndicesThe indices of the other coordinates.
otherCoordsThe 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
initialIndicesThe initial set of indices.

The documentation for this class was generated from the following file: