HarryStevens / geometric

A JavaScript library for doing geometry.
https://www.npmjs.com/package/geometric
MIT License
970 stars 49 forks source link

Make polygonScale arithmetically correct #34

Closed HarryStevens closed 2 years ago

HarryStevens commented 2 years ago

The function should return a polygon whose area is the scaleFactor times the input polygon's area.