Navigation
API > API/Plugins > API/Plugins/CelestialVault > API/Plugins/CelestialVault/UCelestialMaths
Description
Converts a ECEF Location for the WGS84 Ellipsoid into Geodetic Latitude and Longitude.
Be careful, XYZ coordinates are
- ECEF Coordinates in the ECEF Right-Handed Frame (not the Left-handed UE ones in UE Units)
- Expressed in Astronomical Units (AU)
Altitude is returned as Meters
| Name | ECEFXYZAUToGeodeticLatLon |
| Type | function |
| Header File | /Engine/Plugins/Runtime/CelestialVault/Source/CelestialVault/Public/CelestialMaths.h |
| Include Path | #include "CelestialMaths.h" |
| Source | /Engine/Plugins/Runtime/CelestialVault/Source/CelestialVault/Private/CelestialMaths.cpp |
UFUNCTION (BlueprintCallable, Category="Celestial Vault|Earth")
static void ECEFXYZAUToGeodeticLatLon
(
FVector ECEFLocationAU,
double & Latitude,
double & Longitude,
double & AltitudeMeters
)