Like Tree2Likes
  • 2 Post By Cynic

Determine if a line intersects a plane where 2 points for line, 3 points for plane

This is a discussion on Determine if a line intersects a plane where 2 points for line, 3 points for plane within the C Programming forums, part of the General Programming Boards category; Hi, how can I determine if a line(given (x1,y1,z1),(x2,y2,z2) on the line) intersects a plane(given (x3,y3,z3),(x4,y4,z4), (x5,y5,z5) on the plane) ...

  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    2

    Question Determine if a line intersects a plane where 2 points for line, 3 points for plane

    Hi, how can I determine if a line(given (x1,y1,z1),(x2,y2,z2) on the line) intersects a plane(given (x3,y3,z3),(x4,y4,z4), (x5,y5,z5) on the plane)

    Thanks helping.

  2. #2
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    line - Google Search intersect plane
    The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    131
    While it's not hard, if you don't know cross products, dot products and parametric equations of lines, it's a long lecture.

    http://softsurfer.com/Archive/algori...ithm_0104B.htm

    I use this site along with the book "3D Math Primer for Graphics and Game Development" as my primary sources.
    Last edited by Cynic; 03-25-2012 at 06:51 PM.
    TheBigH and Aaron Xia like this.

  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    2
    Quote Originally Posted by Cynic View Post
    While it's not hard, if you don't know cross products, dot products and parametric equations of lines, it's a long lecture.

    Intersection of Lines and Planes

    I use this site along with the book "3D Math Primer for Graphics and Game Development" as my primary sources.
    It helps a lot! Thanks for sharing!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-22-2011, 05:10 AM
  2. Defining a plane using three points?
    By VirtualAce in forum Game Programming
    Replies: 13
    Last Post: 08-02-2007, 03:05 AM
  3. Calculating points of a line
    By Iamien in forum C++ Programming
    Replies: 3
    Last Post: 06-21-2004, 08:40 PM
  4. Draw Line Between Two Points
    By Shadow12345 in forum C++ Programming
    Replies: 4
    Last Post: 05-18-2002, 09:23 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21