Link to home
Start Free TrialLog in
Avatar of etrek
etrek

asked on

Intersection point for two lines, given endpoints.

I need code to find the intersection point of two lines given the endpoints of both lines.  Tried Liang-Barsky algorithm, with no luck.  I'm using C/C++ and openGL.

I did a search of this website first to see if my question had been previously answered, but the resulting webpages, just read: 404: page not found - so if this has been answered in the past, it's not on the site now.

Thanks for your help,
Ethan Deyo
ASKER CERTIFIED SOLUTION
Avatar of str_ek
str_ek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial