double getDistanceXY(double x1, double y1, double x2, double y2) => sqrt(getDistanceXYSquared(x1, y1, x2, y2));