polygon - a package to manipulate non self-intersecting polygons
Overview
This package provides routines for 2D polygons. That is non
self-intersecting multi-edged shapes with more than 2 vertex points.
API
The API provided by this package is avalble using go doc zappem.net/pub/math/polygon
. It can also be browsed on the
go.dev website: package
zappem.net/pub/math/polygon.
Example
See the https://github.com/tinkerator/polygons example.
License info
The polygon
package is distributed with the same BSD 3-clause
license as that used by golang itself.
Reporting bugs
Use the github polygon
bug
tracker.