All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Algorithms
Intersecting lines (Posted on 2003-07-01) Difficulty: 3 of 5
You are given two straight line segments, each defined by the coordinates of its endpoints. Segment AB goes from (Ax,Ay) to (Bx,By) and segment CD - from (Cx,Cy) to (Dx,Dy).

How would you determine if the two line segments intersect?

(Assume that you can't just draw the lines and see)

  Submitted by levik    
Rating: 4.0000 (2 votes)
Solution: (Hide)
See Friedlinguini's excellent solution here

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Question:Cassidy Mentus2005-09-01 05:29:37
Some Thoughtsre: Points on an ellipsebrianjn2003-07-18 22:33:46
re: Points on an ellipseCharlie2003-07-08 08:44:37
QuestionPoints on an ellipsebrianjn2003-07-07 19:56:42
re(2): No Code, just theory Part 2nikki2003-07-07 13:08:33
re(2): No Code, just theorynikki2003-07-07 13:04:14
re(4): Solutionfriedlinguini2003-07-05 06:18:58
re(3): SolutionCharlie2003-07-04 06:02:41
re: No Code, just theoryCharlie2003-07-03 03:15:44
Some Thoughtsre: No Code, just theoryfwaff2003-07-02 23:20:57
No Code, just theorynikki2003-07-02 13:41:53
re: fairly easyCharlie2003-07-02 08:24:21
fairly easyben young2003-07-02 07:59:24
re(2): Solutionfriedlinguini2003-07-02 06:24:48
Questionre: SolutionCharlie2003-07-02 03:40:46
re: Solutionfriedlinguini2003-07-01 13:07:26
SolutionSolutionfriedlinguini2003-07-01 13:03:47
SolutionAn easier wayBryan2003-07-01 12:27:50
Geometric SolutionCharlie2003-07-01 09:54:13
SolutionAlgebraic SolutionCharlie2003-07-01 09:45:39
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (14)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information