CODRgn::PtInSubregion

int CODRgn::PtInSubregion(POINT point, int nPadding)

Checks to see which individual polygon region the point falls within.

Defined in: OdRgn.cpp

Return Value

The index of the polygon region that the point is in, or -1 if the point is not in any of the regions.

Parameters

point

The point to check for.

nPadding

A padding value for the hit test. This is used with linear regions to give a little extra space for the test.