to_2d


Description:

[ Version ( since = "1.0" ) ]
public bool to_2d (out double xx, out double yx, out double xy, out double yy, out double x_0, out double y_0)

Converts a Matrix to an affine transformation matrix, if the given matrix is compatible.

The returned values have the following layout:

  ⎛ xx  yx ⎞   ⎛  a   b  0 ⎞
⎜ xy yy ⎟ = ⎜ c d 0 ⎟
⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠
sed to convert between a Matrix and an affine matrix type from other libraries.

Parameters:

this

a Matrix

xx

return location for the xx member

yx

return location for the yx member

xy

return location for the xy member

yy

return location for the yy member

x_0

return location for the x0 member

y_0

return location for the y0 member

Returns:

`true` if the matrix is compatible with an affine transformation matrix