On Thu, May 08, 2008 at 04:48:42PM +0200, G. Allegri wrote: > Is there in the API a ready-to-use function to check if lines > intersect while editing a polygonal geometry?
Not as far as I'm aware; however, there is geometry.intersects(), which you might be able to use to loop through a polygon and test all the segments of a line for intersection? I'm not entirely sure though. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
