}
// point is in interior of polygon
// distance is distance to polygon plane
double dist = Math.abs(polyPlane.getPlane().orientedDistance(pt));
updateDistance(dist,
new GeometryLocation(polyPlane.getPolygon(), 0, pt),
new GeometryLocation(point, 0, pt),
flip
);
}
// point is outside polygon, so compute distance to shell linework
computeMinDistanceLinePoint(shell, point, flip);