PEXTransformPoints4D(3) — Subroutines
Name
PEXTransformPoints4D
Synopsis
void PEXTransformPoints4D(PEXMatrix transform, int count, PEXCoord4D ∗points, PEXCoord4D ∗points_return)
Arguments
transformThe transformation matrix to apply to the points
countThe number of points to transform
pointsA pointer to an array of 4D points to transform
points_return
A pointer to an array in which to store the transformed points
Returns
None
Description
This function applies the specified homogeneous transformation matrix to the list of 3D homogeneous points (P = x, y, z, w). The transformation is applied:
P’ = TxP
Where P is the point, treated as a column vector, and T is the transformation matrix. The function returns P’ = (x’, y’, z’, w’).
If the return array is the same as the input array, the function will overwrite the input values with the transformed values.
Errors
None
See Also
PEXTransformPoints, PEXTransformPoints2D, PEXTransformPoints2DH