triangulation2.minAngleDeg
The smallest interior angle of any triangle, in degrees, the measure triangulate’s minAngleDeg bounds.
Usage
Triangulation2.minAngleDeg(t: Triangulation2): numberParameters
tTriangulation2The triangulation: points, then three point indices per triangle.
Returns
An angle in [0, 60] degrees; 0 when a triangle is degenerate; NaN when there are no triangles.
Example
const t = { points: [Point2.of(0, 0), Point2.of(1, 0), Point2.of(0, 1)], triangles: new Uint32Array([0, 1, 2]), steinerCount: 0 }
Triangulation2.minAngleDeg(t) // → 45