![]() |
distance between coords |
Post Reply
|
| Author | |
Healme
Newbie
Joined: Jul 02 2020 Location: Switzerland Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Topic: distance between coordsPosted: Jun 13 2025 at 10:09am |
|
How do I define the distance between two coordinate systems relative to each other with one of them as the base? This must also work if the base coordinate system moves and rotates. The coords lie on different bodies. For example I need the x and y components of coord[1] regarding the base coord[2]. I couldn't figure it out with the express formula. |
|
![]() |
|
Healme
Newbie
Joined: Jul 02 2020 Location: Switzerland Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Posted: Jun 13 2025 at 10:16am |
|
I found the solution in an earlier post:
express(coord[1].p-coord[2].p,0,2).x express(coord[1].p-coord[2].p,0,2).y
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |