Navigation
API > API/Plugins > API/Plugins/GeoReferencing
This AInfos enable you to define a correspondance between the UE origin and an actual geographic location on a planet Once done it offers different functions to convert coordinates between UE and Geographic coordinates
| Name | AGeoReferencingSystem |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeoReferencing/Source/GeoReferencing/Public/GeoReferencingSystem.h |
| Include Path | #include "GeoReferencingSystem.h" |
Syntax
UCLASS (HideCategories=(Transform, Replication, Actor, Cooking))
class AGeoReferencingSystem : public AInfo
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AInfo → AGeoReferencingSystem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AGeoReferencingSystem
(
const FObjectInitializer& ObjectInitializer |
GeoReferencingSystem.h |
Classes
| Name | Remarks |
|---|---|
| FGeoReferencingSystemInternals |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOriginAtPlanetCenter | bool | If true, the UE origin is located at the Planet Center, otherwise, the UE origin is assuming to be defined at one specific point of the planet surface, defined by the properties below. | GeoReferencingSystem.h |
|
| bOriginLocationInProjectedCRS | bool | If true, the UE origin georeference is expressed in the PROJECTED CRS. | GeoReferencingSystem.h |
|
| GeographicCRS | FString | String that describes the GEOGRAPHIC CRS of choice. | GeoReferencingSystem.h |
|
| OriginAltitude | double | Altitude of UE Origin on planet | GeoReferencingSystem.h |
|
| OriginLatitude | double | Latitude of UE Origin on planet | GeoReferencingSystem.h |
|
| OriginLongitude | double | Longitude of UE Origin on planet | GeoReferencingSystem.h |
|
| OriginProjectedCoordinatesEasting | double | Easting position of UE Origin on planet, express in the Projected CRS Frame | GeoReferencingSystem.h |
|
| OriginProjectedCoordinatesNorthing | double | Northing position of UE Origin on planet, express in the Projected CRS Frame | GeoReferencingSystem.h |
|
| OriginProjectedCoordinatesUp | double | Up position of UE Origin on planet, express in the Projected CRS Frame | GeoReferencingSystem.h |
|
| PlanetShape | EPlanetShape | This mode has to be set consistently with the way you authored your ground geometry. | GeoReferencingSystem.h |
|
| ProjectedCRS | FString | String that describes the PROJECTED CRS of choice. | GeoReferencingSystem.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Impl | TPimplPtr< FGeoReferencingSystemInternals > | GeoReferencingSystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplySettings () |
In case you want to change the Origin or CRS definition properties during application execution, you need to call this function to update the internal transformation cache. | GeoReferencingSystem.h |
|
void ECEFToEngine
(
const FVector& ECEFCoordinates, |
Convert a Vector expressed in ECEF CRS to ENGINE space | GeoReferencingSystem.h | |
void ECEFToGeographic
(
const FVector& ECEFCoordinates, |
Convert a Coordinate expressed in ECEF CRS to GEOGRAPHIC CRS | GeoReferencingSystem.h | |
void ECEFToProjected
(
const FVector& ECEFCoordinates, |
Convert a Coordinate expressed in ECEF CRS to PROJECTED CRS | GeoReferencingSystem.h | |
void EngineToECEF
(
const FVector& EngineCoordinates, |
Convert a Vector expressed in ENGINE space to the ECEF CRS | GeoReferencingSystem.h | |
void EngineToGeographic
(
const FVector& EngineCoordinates, |
Convert a Vector expressed in ENGINE space to the GEOGRAPHIC CRS | GeoReferencingSystem.h |
|
void EngineToProjected
(
const FVector& EngineCoordinates, |
Convert a Vector expressed in ENGINE space to the PROJECTED CRS | GeoReferencingSystem.h | |
void GeographicToECEF
(
const FGeographicCoordinates& GeographicCoordinates, |
Convert a Coordinate expressed in GEOGRAPHIC CRS to ECEF CRS | GeoReferencingSystem.h | |
void GeographicToEngine
(
const FGeographicCoordinates& GeographicCoordinates, |
Convert a Vector expressed in GEOGRAPHIC CRS to ENGINE space | GeoReferencingSystem.h |
|
void GeographicToProjected
(
const FGeographicCoordinates& GeographicCoordinates, |
Convert a Coordinate expressed in GEOGRAPHIC CRS to PROJECTED CRS | GeoReferencingSystem.h | |
void GetECEFENUVectorsAtECEFLocation
(
const FVector& ECEFCoordinates, |
Get the East North Up vectors at a specific location - Not in engine frame, but in pure ECEF Frame ! | GeoReferencingSystem.h | |
void GetENUVectorsAtECEFLocation
(
const FVector& ECEFCoordinates, |
Get the East North Up vectors at a specific location | GeoReferencingSystem.h | |
void GetENUVectorsAtEngineLocation
(
const FVector& EngineCoordinates, |
Get the East North Up vectors at a specific location | GeoReferencingSystem.h |
|
void GetENUVectorsAtGeographicLocation
(
const FGeographicCoordinates& GeographicCoordinates, |
Get the East North Up vectors at a specific location | GeoReferencingSystem.h |
|
void GetENUVectorsAtProjectedLocation
(
const FVector& ProjectedCoordinates, |
Get the East North Up vectors at a specific location | GeoReferencingSystem.h | |
double GetGeographicEllipsoidMaxRadius() |
Find the underlying Geographic CRS Ellipsoid and return its maximum radius | GeoReferencingSystem.h |
|
double GetGeographicEllipsoidMinRadius() |
Find the underlying Geographic CRS Ellipsoid and return its minimum radius | GeoReferencingSystem.h |
|
FTransform GetPlanetCenterTransform() |
Set this transform to an Ellipsoid to have it positioned tangent to the origin. | GeoReferencingSystem.h |
|
double GetProjectedEllipsoidMaxRadius() |
Find the underlying Projected CRS Ellipsoid and return its maximum radius | GeoReferencingSystem.h |
|
double GetProjectedEllipsoidMinRadius() |
Find the underlying Projected CRS Ellipsoid and return its minimum radius | GeoReferencingSystem.h |
|
FTransform GetTangentTransformAtECEFLocation
(
const FVector& ECEFCoordinates |
Get the the transform to locate an object tangent to Ellipsoid at a specific location | GeoReferencingSystem.h | |
FTransform GetTangentTransformAtEngineLocation
(
const FVector& EngineCoordinates |
Get the the transform to locate an object tangent to Ellipsoid at a specific location | GeoReferencingSystem.h |
|
FTransform GetTangentTransformAtGeographicLocation
(
const FGeographicCoordinates& GeographicCoordinates |
Get the the transform to locate an object tangent to Ellipsoid at a specific location | GeoReferencingSystem.h |
|
FTransform GetTangentTransformAtProjectedLocation
(
const FVector& ProjectedCoordinates |
Get the the transform to locate an object tangent to Ellipsoid at a specific location | GeoReferencingSystem.h | |
bool IsCRSStringValid
(
FString CRSString, |
Check if the string corresponds to a valid CRS descriptor | GeoReferencingSystem.h |
|
void K2_ECEFToEngine
(
const FVector& ECEFCoordinates, |
Convert a Vector expressed in ECEF CRS to ENGINE space | GeoReferencingSystem.h |
|
void K2_ECEFToGeographic
(
const FVector& ECEFCoordinates, |
Convert a Coordinate expressed in ECEF CRS to GEOGRAPHIC CRS | GeoReferencingSystem.h |
|
void K2_ECEFToProjected
(
const FVector& ECEFCoordinates, |
Convert a Coordinate expressed in ECEF CRS to PROJECTED CRS | GeoReferencingSystem.h |
|
void K2_EngineToECEF
(
const FVector& EngineCoordinates, |
Convert a Vector expressed in ENGINE space to the ECEF CRS | GeoReferencingSystem.h |
|
void K2_EngineToProjected
(
const FVector& EngineCoordinates, |
We want to keep the same function names, but with a change in some argument types. | GeoReferencingSystem.h |
|
void K2_GeographicToECEF
(
const FGeographicCoordinates& GeographicCoordinates, |
Convert a Coordinate expressed in GEOGRAPHIC CRS to ECEF CRS | GeoReferencingSystem.h |
|
void K2_GeographicToProjected
(
const FGeographicCoordinates& GeographicCoordinates, |
Convert a Coordinate expressed in GEOGRAPHIC CRS to PROJECTED CRS | GeoReferencingSystem.h |
|
void K2_GetECEFENUVectorsAtECEFLocation
(
const FVector& ECEFCoordinates, |
Get the East North Up vectors at a specific location - Not in engine frame, but in pure ECEF Frame ! | GeoReferencingSystem.h |
|
void K2_GetENUVectorsAtECEFLocation
(
const FVector& ECEFCoordinates, |
Get the East North Up vectors at a specific location | GeoReferencingSystem.h |
|
void K2_GetENUVectorsAtProjectedLocation
(
const FVector& ProjectedCoordinates, |
Get the East North Up vectors at a specific location | GeoReferencingSystem.h |
|
FTransform K2_GetTangentTransformAtECEFLocation
(
const FVector& ECEFCoordinates |
Get the the transform to locate an object tangent to Ellipsoid at a specific location | GeoReferencingSystem.h |
|
FTransform K2_GetTangentTransformAtProjectedLocation
(
const FVector& ProjectedCoordinates |
Get the the transform to locate an object tangent to Ellipsoid at a specific location | GeoReferencingSystem.h |
|
void K2_ProjectedToECEF
(
const FVector& ProjectedCoordinates, |
Convert a Coordinate expressed in PROJECTED CRS to ECEF CRS | GeoReferencingSystem.h |
|
void K2_ProjectedToEngine
(
const FVector& ProjectedCoordinates, |
Convert a Vector expressed in PROJECTED CRS to ENGINE space | GeoReferencingSystem.h |
|
void K2_ProjectedToGeographic
(
const FVector& ProjectedCoordinates, |
Convert a Coordinate expressed in PROJECTED CRS to GEOGRAPHIC CRS | GeoReferencingSystem.h |
|
void ProjectedToECEF
(
const FVector& ProjectedCoordinates, |
Convert a Coordinate expressed in PROJECTED CRS to ECEF CRS | GeoReferencingSystem.h | |
void ProjectedToEngine
(
const FVector& ProjectedCoordinates, |
Convert a Vector expressed in PROJECTED CRS to ENGINE space | GeoReferencingSystem.h | |
void ProjectedToGeographic
(
const FVector& ProjectedCoordinates, |
Convert a Coordinate expressed in PROJECTED CRS to GEOGRAPHIC CRS | GeoReferencingSystem.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostActorCreated() |
GeoReferencingSystem.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
GeoReferencingSystem.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
GeoReferencingSystem.h | ||
virtual void PostLoad() |
GeoReferencingSystem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static AGeoReferencingSystem * GetGeoReferencingSystem
(
UObject* WorldContextObject |
GeoReferencingSystem.h |
|