6#include "Kismet/BlueprintFunctionLibrary.h"
7#include "Misc/Optional.h"
8#include "CesiumWgs84Ellipsoid.generated.h"
12 : public UBlueprintFunctionLibrary {
20 UFUNCTION(BlueprintPure, Category =
"Cesium|Ellipsoid|WGS84")
26 UFUNCTION(BlueprintPure, Category =
"Cesium|Ellipsoid|WGS84")
33 UFUNCTION(BlueprintPure, Category =
"Cesium|Ellipsoid|WGS84")
44 Category =
"Cesium|Ellipsoid|WGS84",
45 meta = (ReturnDisplayName =
"SurfacePosition"))
55 Category =
"Cesium|Ellipsoid|WGS84",
56 meta = (ReturnDisplayName =
"SurfaceNormalVector"))
67 Category =
"Cesium|Ellipsoid|WGS84",
68 meta = (ReturnDisplayName =
"EarthCenteredEarthFixedPosition"))
70 const FVector& LongitudeLatitudeHeight);
81 Category =
"Cesium|Ellipsoid|WGS84",
82 meta = (ReturnDisplayName =
"LongitudeLatitudeHeight"))
84 const FVector& EarthCenteredEarthFixedPosition);
91 const FVector& EarthCenteredEarthFixedPosition);
static FVector GetRadii()
Gets the radii of the WGS84 ellipsoid in its x-, y-, and z-directions in meters.
static double GetMinimumRadius()
Gets the minimum radius of the WGS854 ellipsoid in any dimension, in meters.
static FMatrix EastNorthUpToEarthCenteredEarthFixed(const FVector &EarthCenteredEarthFixedPosition)
Computes the transformation matrix from the local East-North-Up (ENU) frame to Earth-Centered,...
static FVector LongitudeLatitudeHeightToEarthCenteredEarthFixed(const FVector &LongitudeLatitudeHeight)
Convert longitude in degrees (X), latitude in degrees (Y), and height above the WGS84 ellipsoid in me...
static FVector GeodeticSurfaceNormal(const FVector &EarthCenteredEarthFixedPosition)
Computes the normal of the plane tangent to the surface of the ellipsoid at the provided Earth-Center...
static double GetMaximumRadius()
Gets the maximum radius of the WGS84 ellipsoid in any dimension, in meters.
static FVector ScaleToGeodeticSurface(const FVector &EarthCenteredEarthFixedPosition)
Scale the given Earth-Centered, Earth-Fixed position along the geodetic surface normal so that it is ...
static FVector EarthCenteredEarthFixedToLongitudeLatitudeHeight(const FVector &EarthCenteredEarthFixedPosition)
Convert Earth-Centered, Earth-Fixed (ECEF) coordinates to longitude in degrees (X),...