main/src/georegression/metric/Distance2D_F64.java
public static double distance( Quadrilateral_F64 quad , Point2D_F64 p ) {
		return Math.sqrt(distanceSq(quad,p));
	}
public static double distance( Quadrilateral_F64 quad , Point2D_F64 p ) {
		return Math.sqrt(distanceSq(quad,p));
	}
Returns the Euclidean distance of the closest point on the quadrilateral to the provided point.

@param quad Quadrilateral
@param p Point
@return Distance apart