Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumWgs84Ellipsoid.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
5#include "CesiumRuntime.h"
6#include "Kismet/BlueprintFunctionLibrary.h"
7#include "Misc/Optional.h"
8#include "CesiumWgs84Ellipsoid.generated.h"
9
10UCLASS()
11class CESIUMRUNTIME_API UCesiumWgs84Ellipsoid
12 : public UBlueprintFunctionLibrary {
13 GENERATED_BODY()
14
15public:
20 UFUNCTION(BlueprintPure, Category = "Cesium|Ellipsoid|WGS84")
21 static FVector GetRadii();
22
26 UFUNCTION(BlueprintPure, Category = "Cesium|Ellipsoid|WGS84")
27 static double GetMaximumRadius();
28
33 UFUNCTION(BlueprintPure, Category = "Cesium|Ellipsoid|WGS84")
34 static double GetMinimumRadius();
35
42 UFUNCTION(
43 BlueprintPure,
44 Category = "Cesium|Ellipsoid|WGS84",
45 meta = (ReturnDisplayName = "SurfacePosition"))
46 static FVector
47 ScaleToGeodeticSurface(const FVector& EarthCenteredEarthFixedPosition);
48
53 UFUNCTION(
54 BlueprintPure,
55 Category = "Cesium|Ellipsoid|WGS84",
56 meta = (ReturnDisplayName = "SurfaceNormalVector"))
57 static FVector
58 GeodeticSurfaceNormal(const FVector& EarthCenteredEarthFixedPosition);
59
65 UFUNCTION(
66 BlueprintPure,
67 Category = "Cesium|Ellipsoid|WGS84",
68 meta = (ReturnDisplayName = "EarthCenteredEarthFixedPosition"))
69 static FVector LongitudeLatitudeHeightToEarthCenteredEarthFixed(
70 const FVector& LongitudeLatitudeHeight);
71
79 UFUNCTION(
80 BlueprintPure,
81 Category = "Cesium|Ellipsoid|WGS84",
82 meta = (ReturnDisplayName = "LongitudeLatitudeHeight"))
83 static FVector EarthCenteredEarthFixedToLongitudeLatitudeHeight(
84 const FVector& EarthCenteredEarthFixedPosition);
85
90 static FMatrix EastNorthUpToEarthCenteredEarthFixed(
91 const FVector& EarthCenteredEarthFixedPosition);
92};