[Gdal-dev] [ANN] OGRPolygon::IsPointOnSurface()
Mateusz Loskot
mateusz at loskot.net
Tue Jun 20 19:06:36 EDT 2006
Hi,
Yesterday, on Frank's request, I added two new functions to OGR
Geometry API:
OGRPolygon::IsPointOnSurface
OGRLinearRing::isPointInRing
The isPointInRing function tests if given point is inside
the lienar ring. The test is implemented as a common point-in-polygon
algorithm called as a "Ray casting" or "Crossing numbers" algorithm.
I'd like to ask for a bit of testing.
Comments are welcome too.
Cheers
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the Gdal-dev
mailing list