poly_bool_dart 0.0.2 poly_bool_dart: ^0.0.2 copied to clipboard
A new Flutter package project.
poly_bool_dart
Boolean operations on polygons (union, intersection, difference, xor) (this library is a port for flutter of polybooljs
Features #
- Clips polygons for all boolean operations
- Removes unnecessary vertices
- Handles segments that are coincident (overlap perfectly, share vertices, one inside the other, etc)
- Uses formulas that take floating point irregularities into account (via configurable epsilon)
- Provides an API for constructing efficient sequences of operations
Notes #
- No test cases available, Because i don't have time right now
Resources #
- View the demo + animation
- Based somewhat on the F. Martinez (2008) algorithm: