clipper2

Polygon clipping and offsetting library for computational geometry

brewmacoslinux
Try with needOr install directly
Source

About

Polygon clipping and offsetting library

Commands

clipper2

Examples

Perform polygon clipping operation between two polygons$ clipper2 clip input1.json input2.json -o output.json
Offset a polygon by a specified distance$ clipper2 offset input.json -d 5.0 -o output.json
Display help information and available commands$ clipper2 --help