Ok, some maths again: the projected point P_ on the plane is:
P_ = B_ + r * ( D_ - B_ ) with r = ( n_ dot (A_ - B_) ) / ( n_ dot (D_ - B_) ) n_ is the normal vector of the plane, A_ is a point on the plane. if n_ dot (D_-B_) = 0, the intersecting ray is parallel to the plane and does not intersect. See also http://geometryalgorithms.com/Archive/algorithm_0105/algorithm_0105.htm#Segm ent-Plane Max -----Original Message----- From: A. Murat Tanyer [mailto:[EMAIL PROTECTED]] Sent: Friday, 5 April 2002 22:23 To: [EMAIL PROTECTED] Subject: [JAVA3D] projections Hi; I want to find the projection of a point3D (a point on a shape3D which is 'B' in the figure) on to the plane ('AF' in the figure) which is defined by a normal vector and a point on it (not the perpendicular projection; but through the line of DB). Does anybody have an idea? BCDE is the surface of a Shape3D object and AF is the plane which intersect the object. Thanks in advance. Regards Murat A* * B......*......................C .........*................... .............*............... ................*............ ...................*......... D......................*......E * *F =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
