Hi!
I have a question very similar to this: http://stackoverflow.com/questions/30080/how-to-know-if-a-line-intersects-a-plane-in-c-basic-2d-geometry
I am searching for a method that tells if a line is intersecting an arbitrary polygon in C#.
I think the algorithm from chris-marasti-georg was very helpful but missing the most important method - 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 through forbidden area (the arbitrary polygon).
Thank you! /Erik