Distance

Back to Geometric measures

The distance between two shapes is defined by

where is some metric.

Files

Distance between a line and a point

Distance between a line segment and a point

Distance between a line segment and a sphere

Distance between a plane and a point

Distance between a plane and a sphere

Distance between an aligned box and a point

Distance between an aligned box and a sphere

Distance between two aligned boxes

Distance between two line segments

Distance between two lines

Distance between two points

Testing for distance between aligned box and a sphere

Testing for distance between aligned box and point

Testing for distance between aligned boxes

Testing for distance between points