A class containing utility functions for shapes. 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.
Calculate area of a ( 2D ) contour polygon.
Used internally by Path, ExtrudeGeometry and ShapeGeometry.
Used internally by ExtrudeGeometry and ShapeGeometry to calculate faces in shapes with holes.
Generated using TypeDoc
A class containing utility functions for shapes. 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.