choclo.utils.distance_cartesian#
- choclo.utils.distance_cartesian(easting_p, northing_p, upward_p, easting_q, northing_q, upward_q)[source]#
Euclidean distance between two points given in Cartesian coordinates.
Warning
All coordinates should be in the same units.
- Parameters:
- Returns:
- distance
float
Euclidean distance between
point_p
andpoint_q
.
- distance
Notes
Given two points
and defined in a Cartesian coordinate system , return the Euclidean (L2) distance between them: