The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 cartesian coordinate system
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

hayalci

Albania
Posts

Posted - 05/24/2005 :  08:03:56 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I have a ship simulation using cartesian coordinate system in 3D. It is a geocentric coordinate system. I have the initial position (x,y,z) of the ship. Ship moves one step and i take new calculated x and y but z is always zero in this system. x an y ara calculated from velocities and rotations of the ship and it assumes the ship is in 2D environment. But i also need to calculate z also in the world because i will transfer it to the 3D world. How can i calculate the z component of the position?

Thomas M

Germany
Posts

Posted - 05/26/2005 :  08:10:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I think you will have to write a little bit more about your Problem. How is Z limited? If I understand you correctly it is a movement on a "Surface", so the Z-coordinate is dependent on the XY-position. So you will have to implement a function z=f(x,y). But without knowing more about your problem, further suggestions are impossible.

Thomas
Go to Top of Page

hayalci

Albania
Posts

Posted - 05/27/2005 :  04:10:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Ok, thanks, i willask this then.

How can i calculate the transition (new ellipsoidal x,y,z position) of the ship bu using euler angles? What is the formula? I have transition matrix and linear velocites...By using these how can i calculate ellipsoidal coordinates when the ship moves one step from the initial position?
Go to Top of Page

verrallr@a

Canada
44 Posts

Posted - 05/27/2005 :  3:37:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Halayci,

Not many people are familiar with euler angles and how to calculate x,y,z postions from them. You may have to do the "dirty work" yourself.

Richard.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000