code: public static float pointLineDist (float px, float py, float x1, float y1, float x2, float y2) {
          return FloatMath.sqrt(pointLineDistSq(px, py, x1, y1, x2, y2));
      }
docs: Returns the distance from the specified point to the specified line.