Public Member Functions | |
| int | FindPoly (const DPoint2 &p) const |
Static Public Attributes | |
| static int | s_previous_poly = -1 |
|
|
Return the index of the polygon at a specified point, or -1 if there is no polygon there. For speed, it first test the polygon which was found last time. For spatially linear testing, this can be a 10x speedup. |
1.4.5