PolygonOps.jl

Generic Polygon Operations
Author JuliaGeometry
Popularity
21 Stars
Updated Last
1 Year Ago
Started In
September 2019

PolygonOps

Stable Dev

The objective of this package is to provide a set of generic polygon operations. There are two assumptions:

  • the container and points are both vector-like.
  • the first and last elements are equal.

This should provide generic implementations portable and extensible for packages such as GeometryTypes, GeometryBasics, and JuliaGeo.

Please see the docs for a list of exported functions.

Implements:

  • point-in-polygon
  • signed area (shoelace formula)
  • centroid

Planned:

  • simplification
  • booleans (ported from PolygonClipping.jl)
  • offset/insetting

Required Packages

No packages found.