public static float pointSegDist ( float px , float py , float x1 , float y1 , float x2 , float y2 ) { return FloatMath . sqrt ( pointSegDistSq ( px , py , x1 , y1 , x2 , y2 ) ) ; }
Returns the distance between the specified point and the specified line segment .