10 FGeographicCoordinates GeographicCoordinates;
12 if (GeoReferencingSystem)
15 FVector ProjectedCoordinates;
16 GeoReferencingSystem->EngineToProjected(Position, ProjectedCoordinates);
17 GeoReferencingSystem->ProjectedToGeographic(ProjectedCoordinates, GeographicCoordinates);
20 return GeographicCoordinates;
25 FVector UnrealCoordinates;
27 if (GeoReferencingSystem)
30 FVector ProjectedCoordinates;
31 GeoReferencingSystem->GeographicToProjected(GeographicCoordinates, ProjectedCoordinates);
32 GeoReferencingSystem->ProjectedToEngine(ProjectedCoordinates, UnrealCoordinates);
35 return UnrealCoordinates;
static FGeographicCoordinates UnrealToGeographicCoordinates(AGeoReferencingSystem *GeoReferencingSystem, const FVector &Position)
static FVector GeographicToUnrealCoordinates(AGeoReferencingSystem *GeoReferencingSystem, const FGeographicCoordinates &GeographicCoordinates)