main/src/georegression/metric/Distance2D_F64.java
public static double distance( LineParametric2D_F64 line, double x , double y ) {
		return Math.sqrt(distanceSq(line, x,y));
	}
public static double distance( LineParametric2D_F64 line, double x , double y ) {
		return Math.sqrt(distanceSq(line, x,y));
	}
public static double distance ( LineParametric2D_F64 line , double x , double y ) { return Math . sqrt ( distanceSq ( line , x , y ) ) ; }
<p>
Returns the Euclidean distance of the closest point on the line from a point.
</p>

@param line A line segment. Not modified.
@param x Point's x-coordinate
@param y Point's y-coordinate
@return Distance the closest point on the line is away from the point.
<p > Returns the Euclidean distance of the closest point on the line from a point . < / p >