GetDeterminant() public method

public GetDeterminant ( ) : float
return float
Esempio n. 1
0
 virtual public void TestDeterminant()
 {
     Matrix m = new Matrix(2, 3, 4, 5, 6, 7);
     Assert.AreEqual(-2f, m.GetDeterminant(), .001f);
 }
Esempio n. 2
0
 /**
  * @return the size of the image, in User space units
  */
 public float GetArea()
 {
     // the image space area is 1, so we multiply that by the determinant of the CTM to get the transformed area
     return(ctm.GetDeterminant());
 }