Package index
Transformations
These functions allow you to make tranformations to your coordinate system, such as translations, rotations or conversion to polar coordinates.
-
transform_to_egocentric() - Transform coordinates to egocentric reference frame
-
translate_coords() - Translate coordinates (Cartesian)
-
rotate_coords() - Rotate coordinates in Cartesian space (2D or 3D)
-
map_to_cartesian() - Map from polar to Cartesian coordinates
-
map_to_polar() - Map from Cartesian to polar coordinates
-
map_to_cylindrical() - Map from Cartesian to cylindrical coordinates
-
map_to_spherical() - Map from Cartesian to spherical coordinates
-
cartesian_to_rho() - Cartesian radius (ρ) from coordinates
-
cartesian_to_phi() - Cartesian azimuth (φ) from coordinates
-
cartesian_to_theta() - Polar angle (θ) from Cartesian coordinates
-
polar_to_x() - Convert polar radius to Cartesian x‑coordinate
-
polar_to_y() - Convert polar radius to Cartesian y‑coordinate
-
spherical_to_z() - Convert cylindrical radius and polar angle to Cartesian z‑coordinate
-
calculate_angular_difference() - Calculate angular difference
-
wrap_angle() - Constrain angles to a standard range
-
unwrap_angle() - Remove constrain for angles to keep within [0, 2π)
-
diff_angle() - Difference of angular values