Horizon
|
Class POLY_GRID_PARTITION. More...
#include <poly_grid_partition.h>
Public Member Functions | |
POLY_GRID_PARTITION (const SHAPE_LINE_CHAIN &aPolyOutline, int gridSize) | |
int | containsPoint (const VECTOR2I &aP) |
bool | checkClearance (const VECTOR2I &aP, int aClearance) |
int | ContainsPoint (const VECTOR2I &aP, int aClearance=0) |
const BOX2I & | BBox () const |
Class POLY_GRID_PARTITION.
Provides a fast test for point inside polygon by splitting the edges of the polygon into a rectangular grid.