Q3Point3D_To3DTransformArray
You can use theQ3Point3D_To3DTransformArrayfunction to apply a transform to each point in an array of three-dimensional points.
TQ3Status Q3Point3D_To3DTransformArray ( const TQ3Point3D *inVertex, const TQ3Matrix4x4 *matrix, TQ3Point3D *outVertex, long numVertices, unsigned long inStructSize, unsigned long outStructSize);
inVertex- A pointer to an array of three-dimensional points. This is the source array.
matrix- A 4-by-4 matrix.
outVertex- A pointer to an array of three-dimensional points. This is the destination array.
numVertices- The number of vertices.
inStructSize- The size of an element in the source array. Effectively, this is the distance, in bytes, between successive points in the source array.
outStructSize- The size of an element in the destination array. Effectively, this is the distance, in bytes, between successive points in the destination array.
DESCRIPTION
TheQ3Point3D_To3DTransformArrayfunction returns, in theoutVertexparameter, an array of three-dimensional points, each of which is the result of multiplying a point in theinVertexarray by the matrix transformmatrix. TheoutVertexarray contains the same number of points (that is, vertices) as theinVertexarray, as specified by thenumVerticesparameter. TheinStructSizeandoutStructSizeparameters specify the sizes of an element in theinVertexandoutVertexarrays, respectively.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help