polar_cartesian_distance

luminet.spatial.polar_cartesian_distance(p1: Tuple[float], p2: Tuple[float]) float

Calculate cartesian distance between two polar coordinates

Parameters:
  • p1 (Tuple[float]) – Two-tuple containing the angle and radius of point 1.

  • p1 (Tuple[float]) – Two-tuple containing the angle and radius of point 2.

Returns:

float – Cartesian distance between the two points.