magpie.coords.dist2d
- dist2d(x1, y1, x2, y2)
Returns the distance between two points in 2D.
- Parameters
- x1, y1float or array
Location of first points.
- x2, y2float or array
Location of second points.
- Returns
- distfloat or array
Distance between point 1 and 2.