in reply to Re: Polygon interact other polygon
in thread Polygon interact other polygon
"How to find the intersection of 2 lines has a well known solution,"
Well, just to add a bit detail here: line is the extension of a line segment on both ends. Two line intersect each other, does not mean that the two original line segments intersect. Your solution is fine, other than that we have to add one more step: after you get the point of intersection, you have to go back and check whether the intersection point is on both original line segments.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Polygon interact other polygon
by zentara (Cardinal) on Oct 25, 2004 at 13:08 UTC |