FDO .NET API Reference Feature Data Objects
static System::Boolean OSGeo::FDO::Spatial::SpatialUtility::PointInPolygon ( OSGeo::FDO::Geometry::IPolygon polygon,
System::Double  coordinateX,
System::Double  coordinateY,
System::Boolean *  isOnExtBoundary 
) [static]

Tests whether a point is within a polygon (including its islands) or not.

Parameters:
polygon Input Polygon to test
coordinateX Input X ordinate.
coordinateY Input Y ordinate.
isOnExtBoundary Output Specifies if the specified point is on the exterior boundary of the polygon.
Returns:
Returns TRUE if the point is within polygon or on its boundary, FALSE otherwise.


Comments or suggestions? Send us feedback.