|
static System::Boolean SpatialUtility::PointInPolygon |
( |
NAMESPACE_OSGEO_GEOMETRY::IPolygon * |
polygon, |
|
|
System::Double |
coordinateX, |
|
|
System::Double |
coordinateY, |
|
|
System::Boolean * |
isOnExtBoundary, |
|
|
System::Boolean * |
isOnInBoundary |
|
) |
[static] |
|
|
Tests whether a point is within a polygon (including its islands) or not.
- Parameters:
-
| poly | Input Polygon to test |
| x | Input X ordinate. |
| y | Input Y ordinate. |
- Returns:
- Returns TRUE if the point is within polygon or on its boundary, FALSE otherwise.
|
|