isAcuteStatic static method
Tests whether a triangle is acute. A triangle is acute iff all interior angles are acute. This is a strict test - right triangles will return false A triangle which is not acute is either right or obtuse.
Note: this implementation is not robust for angles very close to 90 degrees.
@param a a vertex of the triangle @param b a vertex of the triangle @param c a vertex of the triangle @return true if the triangle is acute
Implementation
static bool isAcuteStatic(Coordinate a, Coordinate b, Coordinate c) {
if (!Angle.isAcute(a, b, c)) return false;
if (!Angle.isAcute(b, c, a)) return false;
if (!Angle.isAcute(c, a, b)) return false;
return true;
}