Static
areaCalculate area of a ( 2D ) contour polygon.
Static
isNote that this is a linear function so it is necessary to calculate separately for x, y components of a polygon.
Static
triangulateUsed internally by THREE.ExtrudeGeometry | ExtrudeGeometry and THREE.ShapeGeometry | ShapeGeometry to calculate faces in shapes with holes.
A class containing utility functions for shapes.
Remarks
Note that these are all linear functions so it is necessary to calculate separately for x, y (and z, w if present) components of a vector.
See