PEXTransformPoints2DH(3) — Subroutines
Name
PEXTransformPoints2DH
Synopsis
void PEXTransformPoints2DH(PEXMatrix3x3 transform, int count, PEXCoord ∗points, PEXCoord ∗points_return)
Arguments
transformThe transformation matrix to apply to the points
countThe number of points to transform
pointsA pointer to an array of 2D homogeneous 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 2D homogeneous points (P = x, y, 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’, 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, PEXTransformPoints4D