distance# swordfish.function.distance()# Calculate the distance in meters between 2 points on the earth’s surface. Parameters: X (Constant) – A POINT scalar/pair/vector representing points in the coordinate system of earth. Y (Constant) – A POINT scalar/pair/vector representing points in the coordinate system of earth.