FDO API Reference Feature Data Objects

static System::Boolean SpatialUtility::PointInRing NAMESPACE_OSGEO_GEOMETRY::ILinearRing ring,
System::Double  coordinateX,
System::Double  coordinateY,
System::Boolean *  isOnBoundary
[static]
 

Tests whether a point is within a ring or not.

Parameters:
ring Input Ring to test
x Input X ordinate.
y Input Y ordinate.
Returns:
Returns TRUE if the point is within ring or on its boundary, FALSE otherwise.

Comments or suggestions? Send us feedback.