MinimumPointTriDistance Subroutine

public subroutine MinimumPointTriDistance(Point, TriangleVertex1, TriangleVertex2, TriangleVertex3, dist, IntersectionPoint)

Arguments

Type IntentOptional Attributes Name
real(kind=rp), intent(in) :: Point(:)
real(kind=rp), intent(in) :: TriangleVertex1(:)
real(kind=rp), intent(in) :: TriangleVertex2(:)
real(kind=rp), intent(in) :: TriangleVertex3(:)
real(kind=rp), intent(out) :: dist
real(kind=rp), intent(out) :: IntersectionPoint(NDIM)