Distance Between Points

Feel free to ask any question here
Post Reply
Marvin_Martian
Posts: 9
Joined: Tue Dec 24, 2024 9:56 am

Distance Between Points

Post by Marvin_Martian »

CloudCompare_9JnZjuE4QK.png
CloudCompare_9JnZjuE4QK.png (6.66 KiB) Viewed 1648 times
I'm trying to understand the distance between these two points. I understand the distance is 0.4 between points but the other values I do not understand ?
daniel
Site Admin
Posts: 7800
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Distance Between Points

Post by daniel »

Well, that's simply the shift between the points along the X, Y or Z dimension (left column) or in the XY, XZ and ZY planes (right column = 2D distances)
Daniel, CloudCompare admin
Marvin_Martian
Posts: 9
Joined: Tue Dec 24, 2024 9:56 am

Re: Distance Between Points

Post by Marvin_Martian »

daniel wrote: Wed Jan 22, 2025 8:30 pm Well, that's simply the shift between the points along the X, Y or Z dimension (left column) or in the XY, XZ and ZY planes (right column = 2D distances)
If I understand correctly based on the screen capture, deltaX is the shift between the points, meanwhile deltaXY is the distance between the points in the XY axis ?

Meanwhile, the distance is simply the distance in mm between points ?
daniel
Site Admin
Posts: 7800
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Distance Between Points

Post by daniel »

Yes,

In more mathematical terms, if the 2 points are named P and Q :
dX = P.x - Q.x
dXY = sqrt((P.x - Q.x)^2 + (P.y - Q.y)^2)
distance = sqrt((P.x - Q.x)^2 + (P.y - Q.y)^2 + (P.z - Q.z)^2)
Daniel, CloudCompare admin
Marvin_Martian
Posts: 9
Joined: Tue Dec 24, 2024 9:56 am

Re: Distance Between Points

Post by Marvin_Martian »

daniel wrote: Sun Jan 26, 2025 7:08 am Yes,

In more mathematical terms, if the 2 points are named P and Q :
dX = P.x - Q.x
dXY = sqrt((P.x - Q.x)^2 + (P.y - Q.y)^2)
distance = sqrt((P.x - Q.x)^2 + (P.y - Q.y)^2 + (P.z - Q.z)^2)
In the math sense if R.x = 0.400002 and Q.x = 0.400007 = -0.000005 based on dX = R.x - Q.x ?
daniel
Site Admin
Posts: 7800
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Distance Between Points

Post by daniel »

Not sure to fully understand the question, but yes, dX = R.x - Q.x = -0.000005
Daniel, CloudCompare admin
Marvin_Martian
Posts: 9
Joined: Tue Dec 24, 2024 9:56 am

Re: Distance Between Points

Post by Marvin_Martian »

daniel wrote: Mon Jan 27, 2025 10:09 am Not sure to fully understand the question, but yes, dX = R.x - Q.x = -0.000005
Based on the math equation above if those two points existed at 0.400002 and 0.400007 then the offset would be -0.000005. :)
Post Reply