getPointDistance

Computes the signed shortest distance of a point to a plane. The sign of the distance determines which side of the plane the point is on. If the distance is positive, the point is in the half-space in the direction of the normal; if negative, the point is in the half-space opposite to the normal; if zero, the plane passes through the point.

Return

The signed shortest distance of the point to the plane.

Parameters

plane

The plane.

point

The point.

See also