- <init>
Creates a new triangle with the given vertices.
- circumcentre
Computes the circumcentre of a triangle. The circumcentre is the centre of the
circumcircle, the sma
- interpolateZ
Computes the Z-value (elevation) of an XY point on a three-dimensional plane
defined by a triangle w
- area
Computes the 2D area of a triangle. The area value is always non-negative.
- area3D
Computes the 3D area of a triangle. The value computed is alway non-negative.
- det
Computes the determinant of a 2x2 matrix. Uses standard double-precision
arithmetic, so is susceptib
- inCentre
Computes the incentre of a triangle. The inCentre of a triangle is the point
which is equidistant fr
- isAcute
Tests whether a triangle is acute. A triangle is acute iff all interior angles
are acute. This is a
- longestSideLength
Computes the length of the longest side of a triangle
- signedArea
Computes the signed 2D area of a triangle. The area value is positive if the
triangle is oriented CW