| 246 | } |
| 247 | |
| 248 | static std::optional<LatLonAlt> getPositionLla(const Entity& entity) |
| 249 | { |
| 250 | std::optional<Vector3> position = getPosition(entity); |
| 251 | if (!position) { return std::nullopt; } |
| 252 | |
| 253 | return toLatLonAlt(GeocentricPosition(*position)).position; |
| 254 | } |
| 255 | |
| 256 | static void setPositionLla(Entity& entity, const LatLonAlt& lla) |
| 257 | { |
no test coverage detected