12345678910111213141516171819202122232425262728293031323334 |
- #pragma once
- #include <inttypes.h>
- #include "vector2.h"
- #include "vector3.h"
- float get_horizontal_distance_cm(const Vector3f &origin, const Vector3f &destination);
- float get_bearing_cd(const Vector3f &origin, const Vector3f &destination);
- void wgsllh2ecef(const Vector3d &llh, Vector3d &ecef);
- void wgsecef2llh(const Vector3d &ecef, Vector3d &llh);
- bool check_lat(float lat) WARN_IF_UNUSED;
- bool check_lng(float lng) WARN_IF_UNUSED;
- bool check_lat(int32_t lat) WARN_IF_UNUSED;
- bool check_lng(int32_t lng) WARN_IF_UNUSED;
- bool check_latlng(float lat, float lng) WARN_IF_UNUSED;
- bool check_latlng(int32_t lat, int32_t lng) WARN_IF_UNUSED;
|