The Artima Developer Community
Sponsored Link

Java Answers Forum
Equation for Intersection

1 reply on 1 page. Most recent reply: Dec 15, 2005 10:29 PM by Matthias Neumair

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
NA NA

Posts: 1
Nickname: hsindragon
Registered: Dec, 2005

Equation for Intersection Posted: Dec 14, 2005 6:41 AM
Reply to this message Reply
Advertisement
I hope some of you with higher mathematical education can help me here. I need an equation to represent the movement of a line segemnt through 3D space that is changing length at a constant rate so that I can predict if any of these lines will be occupying the same point in space at any time. It's giving me a headache, I hope you guys can help me.


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: Equation for Intersection Posted: Dec 15, 2005 10:29 PM
Reply to this message Reply
p11(t) ... startpoint of line1

p12(t) ... endpoint of line1

p21(t) ... startpoint of line2

p22(t) ... endpoint of line2

d1(t) = p12(t) - p11(t)

d2(t) = p22(t) - p21(t)

p1(t) = p11(t) + i * d1(t), i element of [0, 1]

p2(t) = p21(t) + j * d2(t), j element of [0, 1]


Now you need t, i, j so that p1(t) == p2(t)

It all depends of the functions for pxx(t).

I don't think there is a standard solution, but I'll look into it.

Flat View: This topic has 1 reply on 1 page
Topic: Connecting to File server on network Previous Topic   Next Topic Topic: linking class files

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use