Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jts-dev] When should I use SimplePointInAreaLocator and PointLocator

I see that SimplePointInAreaLocator only really works for polygon geometries (and collections containing polygons).  However at a glance PointLocator also seems to work for Polygons.  

So I wonder what the point of SimplePointInAreaLocator is?  Does it have better performance characteristics perhaps?  It also says that it might not work for when the point is on the boundary, so unless the performance is significantly better I don't see such a reason for it.

Thanks,

Jesse

Back to the top