Geometry 3D

Distances between Points, Lines and Planes.

Distance between two Points:

It's calculated by the formula of Pythagoras.

d = √( (x1 - x2)2 + (y1 - y2)2 + (z1 - z2)2)

Distance between Point and Line:

Take the plane E in normal form with the point P as position vector and the direction of the line g as normal vector. Determine the point of intersection S between this plane and the line g. The distance between S and P is the distance between the point and the line.

Distance between Point and Plane:

Intersect the plane by the perpendicular from the point to the plane and determine the distance between the point of intersection and the given point.

Distance between two Lines:

See Intersection of two Lines

Distance between Plane and Line:

See Intersection of Plane and Line

Distance between two Planes:

See Intersection of two Planes