isAcute method

bool isAcute()

Tests whether this 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.

@return true if this triangle is acute

Implementation

bool isAcute() {
  return isAcuteStatic(this.p0, this.p1, this.p2);
}