Cesium for Unreal 2.12.0
|
#include <CesiumEllipsoid.h>
Public Member Functions | |
FVector | GetRadii () |
Gets the radii of the ellipsoid in its x-, y-, and z-directions in meters. | |
void | SetRadii (const FVector &NewRadii) |
Sets the radii of this ellipsoid in its x-, y-, and z-directions in meters. | |
double | GetMaximumRadius () |
Gets the maximum radius of the ellipsoid in any dimension, in meters. | |
double | GetMinimumRadius () |
Gets the minimum radius of the ellipsoid in any dimension, in meters. | |
FVector | ScaleToGeodeticSurface (const FVector &EarthCenteredEarthFixedPosition) |
Scale the given Ellipsoid-Centered, Ellipsoid-Fixed position along the geodetic surface normal so that it is on the surface of the ellipsoid. | |
FVector | GeodeticSurfaceNormal (const FVector &EarthCenteredEarthFixedPosition) |
Computes the normal of the plane tangent to the surface of the ellipsoid at the provided Ellipsoid-Centered, Ellipsoid-Fixed position. | |
FVector | LongitudeLatitudeHeightToEllipsoidCenteredEllipsoidFixed (const FVector &LongitudeLatitudeHeight) |
Convert longitude in degrees (X), latitude in degrees (Y), and height above the ellipsoid in meters (Z) to Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) coordinates. | |
FVector | EllipsoidCenteredEllipsoidFixedToLongitudeLatitudeHeight (const FVector &EarthCenteredEarthFixedPosition) |
Convert Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) coordinates to longitude in degrees (X), latitude in degrees (Y), and height above the ellipsoid in meters (Z). | |
FMatrix | EastNorthUpToEllipsoidCenteredEllipsoidFixed (const FVector &EarthCenteredEarthFixedPosition) |
Computes the transformation matrix from the local East-North-Up (ENU) frame to Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) at the specified ECEF location. | |
CesiumGeospatial::LocalHorizontalCoordinateSystem | CreateCoordinateSystem (const FVector &Center, double Scale) |
Returns a new CesiumGeospatial::LocalHorizontalCoordinateSystem with the given scale, center, and ellipsoid. | |
const CesiumGeospatial::Ellipsoid & | GetNativeEllipsoid () |
Returns the underlying CesiumGeospatial::Ellipsoid . | |
Static Public Member Functions | |
static UCesiumEllipsoid * | Create (const FVector &Radii) |
Creates a new UCesiumEllipsoid with the given radii. | |
Protected Attributes | |
FVector | Radii |
The radii of this ellipsoid. | |
Definition at line 15 of file CesiumEllipsoid.h.
|
static |
Creates a new UCesiumEllipsoid
with the given radii.
This is equivalent to
CesiumGeospatial::LocalHorizontalCoordinateSystem UCesiumEllipsoid::CreateCoordinateSystem | ( | const FVector & | Center, |
double | Scale ) |
Returns a new CesiumGeospatial::LocalHorizontalCoordinateSystem
with the given scale, center, and ellipsoid.
FMatrix UCesiumEllipsoid::EastNorthUpToEllipsoidCenteredEllipsoidFixed | ( | const FVector & | EarthCenteredEarthFixedPosition | ) |
Computes the transformation matrix from the local East-North-Up (ENU) frame to Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) at the specified ECEF location.
FVector UCesiumEllipsoid::EllipsoidCenteredEllipsoidFixedToLongitudeLatitudeHeight | ( | const FVector & | EarthCenteredEarthFixedPosition | ) |
Convert Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) coordinates to longitude in degrees (X), latitude in degrees (Y), and height above the ellipsoid in meters (Z).
If the position is near the center of the Ellipsoid, the result will have the value (0,0,0) because the longitude, latitude, and height are undefined.
FVector UCesiumEllipsoid::GeodeticSurfaceNormal | ( | const FVector & | EarthCenteredEarthFixedPosition | ) |
Computes the normal of the plane tangent to the surface of the ellipsoid at the provided Ellipsoid-Centered, Ellipsoid-Fixed position.
double UCesiumEllipsoid::GetMaximumRadius | ( | ) |
Gets the maximum radius of the ellipsoid in any dimension, in meters.
double UCesiumEllipsoid::GetMinimumRadius | ( | ) |
Gets the minimum radius of the ellipsoid in any dimension, in meters.
const CesiumGeospatial::Ellipsoid & UCesiumEllipsoid::GetNativeEllipsoid | ( | ) |
Returns the underlying CesiumGeospatial::Ellipsoid
.
FVector UCesiumEllipsoid::GetRadii | ( | ) |
Gets the radii of the ellipsoid in its x-, y-, and z-directions in meters.
FVector UCesiumEllipsoid::LongitudeLatitudeHeightToEllipsoidCenteredEllipsoidFixed | ( | const FVector & | LongitudeLatitudeHeight | ) |
Convert longitude in degrees (X), latitude in degrees (Y), and height above the ellipsoid in meters (Z) to Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) coordinates.
FVector UCesiumEllipsoid::ScaleToGeodeticSurface | ( | const FVector & | EarthCenteredEarthFixedPosition | ) |
Scale the given Ellipsoid-Centered, Ellipsoid-Fixed position along the geodetic surface normal so that it is on the surface of the ellipsoid.
If the position is near the center of the ellipsoid, the result will have the value (0,0,0) because the surface position is undefined.
void UCesiumEllipsoid::SetRadii | ( | const FVector & | NewRadii | ) |
Sets the radii of this ellipsoid in its x-, y-, and z-directions in meters.
Tilesets using this ellipsoid may have to be refreshed to see the changes applied.
|
protected |
The radii of this ellipsoid.
The X coordinate of the vector should be the radius of the largest axis and the Z coordinate should be the radius of the smallest axis.
Definition at line 139 of file CesiumEllipsoid.h.