Re: [OpenLayers-Dev] LineString Intersects method

2010-07-01 Thread Gagan Bansal
Hi Tim, Thanks for the clarification. I create these geometry by digitizing and I use snap of point to the line. So that is why these two geometries are very very near. But as these two does not intersects, check for LineString.Intersects() returns false. Thanks again for your quick response,

Re: [OpenLayers-Dev] LineString Intersects method

2010-06-30 Thread Tim Schaub
On 6/30/10 10:52 PM, Gagan Bansal wrote: Hi, I am trying to check if the line and point intersects using : OpenLayers.Geometry.LineString.intersects(). Many times it returns false, even if line and point intersects. I am using OpenLayers-2.9.1. Here is the test case: Line -