How to tell if a line intersects a polygon in C#?
I have a question very similar to this: How to know if a line intersects a plane in C#? I am searching for a method (in C#) that tells if a line is intersecting an arbitrary polygon. I think the algorithm by Chris Marasti-Georg was very helpful, but missing the most important method, i.e. line to line intersection. Does anyone know of a line intersection method to complete Chris Marasti-Georg's code or have anything similar? Is there a built-in code for this in C#? This method is for use with the Bing Maps algorithm enhanced with a forbidden area feature. The resulting path must not pass