Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 4th, 2006, 11:15 AM
Rizla's Avatar
Rizla Rizla is offline
fifo
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Canvas3D()
Posts: 241 Rizla User rank is Sergeant (500 - 2000 Reputation Level)Rizla User rank is Sergeant (500 - 2000 Reputation Level)Rizla User rank is Sergeant (500 - 2000 Reputation Level)Rizla User rank is Sergeant (500 - 2000 Reputation Level)Rizla User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 20 h 14 m 5 sec
Reputation Power: 14
Joining 2 points in 3d space

I have 2 points in 3d space (P1 = x1, y1, z1) (P2 = x2, y2, z2) that im trying to join up by a long thin cylinder.
When I create my cylinder, the centre point of the cylinder lies down the Y axis. For simplicity we can think of the cylinder as a line with x = 0, z = 0 and y ranges from say 3 to -3.
As far as i can see, in order to join up my points, i need to rotate twice (once about z and once about x) and translate my line.
I can calculate my translation but I can't seem to work out an algorithm to deal with the rotations.
Any pointers would be greatly appreciated.
Many Thanks
__________________
Never trust a man who, when left alone in a room with a tea cosy, doesn't try it on. - Billy Connolly

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > Joining 2 points in 3d space


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT