Click here to Skip to main content
15,893,588 members
Articles / Programming Languages / C#

A brute-force approach to check if a line segment crosses a simple polygon

Rate me:
Please Sign up or sign in to vote.
4.79/5 (5 votes)
28 Apr 2012CPOL4 min read 54.3K   1K   19  
Split a segment into smaller parts in order to check if the segment crosses a polygon or not.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Vietnam Vietnam
Oops!

Comments and Discussions