detecting intersection between 2 polylines?

690
3
12-07-2011 11:31 PM
Labels (1)
linusang
New Contributor II
Hi

how do i detect if a Polyline intersects with the another Polyline? I am aware that the Envelope class has the intersect method but that is inaccurate because it is using the bounds of the Polyline?

Thanks!
3 Replies
JenniferNery
Esri Regular Contributor
0 Kudos
linusang
New Contributor II
hmm i'm looking for an application-code solution instead of requesting from a server as i require immediate response... there is no other way besides requesting from a service?
0 Kudos
JenniferNery
Esri Regular Contributor
The only client-side calculation the API offers for finding intersection is in Envelope geometry which may not be as accurate as you need it to be when finding interesection between Polylines. The other option would be to use GeometryService.Intersect.
0 Kudos