Matrix2x4& SetParlToParl(const T* src, const T* dst);
SetParlToParl transforms a parallelogram to a new parallelogram.
The parallelograms are defined by the matrices which represent the edge coordinates of the parallelogram. The 3 corners of the parallelogram are identified by a float array Float[6] mapped to x1, y1, x2, y2, x3, y3 and the fourth point is calculated internally.
*---------------*(x3, y3) / / / / (x1,y1)*---------------*(x2, y2)
Parameters |
Description |
const T* src |
Pointer to array of three points of the original parallelogram. |
const T* dst |
Pointer to array of three points of the transformed parallelogram. |
The transformed parallelogram.