Skip to content

Latest commit

 

History

History

geom-poly-utils

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@thi.ng/geom-poly-utils

npm (scoped) npm downloads Twitter Follow

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

  • Karsten Schmidt

License

© 2018 Karsten Schmidt // Apache Software License 2.0