Page 1 of 1

Distance Between Points

Posted: Mon Jan 20, 2025 3:06 am
by Marvin_Martian
CloudCompare_9JnZjuE4QK.png
CloudCompare_9JnZjuE4QK.png (6.66 KiB) Viewed 1660 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 ?

Re: Distance Between Points

Posted: Wed Jan 22, 2025 8:30 pm
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)

Re: Distance Between Points

Posted: Fri Jan 24, 2025 4:26 pm
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 ?

Re: Distance Between Points

Posted: Sun Jan 26, 2025 7:08 am
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)

Re: Distance Between Points

Posted: Sun Jan 26, 2025 3:09 pm
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 ?

Re: Distance Between Points

Posted: Mon Jan 27, 2025 10:09 am
by daniel
Not sure to fully understand the question, but yes, dX = R.x - Q.x = -0.000005

Re: Distance Between Points

Posted: Mon Jan 27, 2025 1:10 pm
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. :)