getDeterminant method

double getDeterminant()

Computes the determinant of the transformation matrix. The determinant is computed as:

| m00 m01 m02 |
| m10 m11 m12 | = m00 * m11 - m01 * m10
|  0   0   1  |
If the determinant is zero, the transform is singular (not invertible), and operations which attempt to compute an inverse will throw a NoninvertibleTransformException.

@return the determinant of the transformation @see #getInverse()

Implementation

double getDeterminant() {
  return m00 * m11 - m01 * m10;
}