Esempio n. 1
0
 bool is_identity()
 {
     return(AggMath.is_equal_eps(sx, 1.0, EPSILON) &&
            AggMath.is_equal_eps(shy, 0.0, EPSILON) &&
            AggMath.is_equal_eps(w0, 0.0, EPSILON) &&
            AggMath.is_equal_eps(shx, 0.0, EPSILON) &&
            AggMath.is_equal_eps(sy, 1.0, EPSILON) &&
            AggMath.is_equal_eps(w1, 0.0, EPSILON) &&
            AggMath.is_equal_eps(tx, 0.0, EPSILON) &&
            AggMath.is_equal_eps(ty, 0.0, EPSILON) &&
            AggMath.is_equal_eps(w2, 1.0, EPSILON));
 }