mathnet / mathnet-spatial

Math.NET Spatial
http://spatial.mathdotnet.com
MIT License
376 stars 132 forks source link

LineSegment2D.TryIntersect should intersect segments, not lines #166

Closed im1ex closed 5 years ago

im1ex commented 5 years ago

LineSegment2D.TryIntersect returns true even if lines crosses in point located out of segments.

JohanLarsson commented 5 years ago

Thanks for reporting, do you have some sample code we can use in a test?

im1ex commented 5 years ago

I've created pull request #167

cdrnet commented 5 years ago

Thanks! Closed by #167.