Horizon
Classes | Public Member Functions | List of all members
POLY_GRID_PARTITION Class Reference

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 BOX2IBBox () const
 

Detailed Description

Class POLY_GRID_PARTITION.

Provides a fast test for point inside polygon by splitting the edges of the polygon into a rectangular grid.


The documentation for this class was generated from the following file: