point_to_plane_distance Function

public pure function point_to_plane_distance(pt, pln) result(rst)

Computes the shortest distance between a point and a plane.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: pt(3)

The point.

class(plane), intent(in) :: pln

The plane.

Return Value real(kind=real64)

The shortest distance between the point and plane.


Contents