atlas use bumpynimble install bumpy
Based on the book http://www.jeffreythompson.org/collision-detection/table_of_contents.php
Mostly used for vector 2d intersections checking for Pixie: https://github.com/treeform/pixie
Supported intersections:
| Shape | Point | Circle | Rectangle | Segment | Polygon | Line | Wedge |
|---|---|---|---|---|---|---|---|
| Point | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Circle | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Rectangle | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Segment | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Polygon | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Line | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Wedge | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |