In the context of C #,. Net 4 ...
Given a data source object that supplies vertices at an index from a doubling array, where the vertex contains ten paired elements with elements Px, Py, Pz, Nx, Ny, Nz, S, T, U, V. and the base array contains all or any a subset of vertex elements based on the properties of the step, offset, and count of the data source. A data source can be simplified as:
public class DataSource
{
private double[] data;
private int offset, stride, count;
public double[] ElementAt(int index)
{
double[] result = new double[count];
var relativeIndex = index * stride + offset;
Array.Copy(data, relativeIndex, result, 0, count);
return result;
}
.
.
.
}
double [], PointNf, N - (Point1f... Point10f). Point , , . Point4f 3 [i + 0], [i + 1], [i + 2], 0.
, DataSource GetPoint1f (int index), GetPoint2f ( int) . , .. ...
, ...
Point3f point = SomeDataSource.ElementAt[index];
... //?... /... , ?... ?