@thi.ng/geom-poly-utils

This project is part of the
@thi.ng/umbrella monorepo.
About
Polygon / triangle analysis & processing utilities:
- signed 2D polygon & triangle area
- triangle barycentric coord conversion
- nD point cloud bounding box
- 2D poly center of weight
- nD point cloud centroid
- 2D circumcenter
- 2D polygon convexity classification
- 2D equilateral triangle
- polygon / polyline perimeter
Installation
yarn add @thi.ng/geom-poly-utils
Dependencies
Usage examples
import * as gpu from "@thi.ng/geom-poly-utils";
Authors
License
© 2018 Karsten Schmidt // Apache Software License 2.0