|
TraceMaker
C++ API of the engine
|
Bucketed edges of one large closed polygon (a zone fill), so "does this disk touch the polygon?" costs the edges near the disk instead of every edge. More...
Go to the source code of this file.
Classes | |
| class | tmk::geom::PolygonIndex |
Namespaces | |
| namespace | tmk |
| namespace | tmk::geom |
Bucketed edges of one large closed polygon (a zone fill), so "does this disk touch the polygon?" costs the edges near the disk instead of every edge.
Exact: the answer equals closer_than(Shape::point(c, r), Shape::polygon(pts, 0), clearance) (reference path; tests/test_geom.cpp).
Definition in file poly_index.hpp.