Cesium for Unity 1.15.2
Loading...
Searching...
No Matches
CesiumForUnity.CesiumEllipsoid Class Reference
Inheritance diagram for CesiumForUnity.CesiumEllipsoid:

Public Member Functions

double GetMaximumRadius ()
 Gets the maximum radius of the ellipsoid in any dimension.
 
double GetMinimumRadius ()
 Gets the minimum radius of the ellipsoid in any dimension.
 
partial double3 GetRadii ()
 Returns the radii of this ellipsoid.
 
partial void SetRadii (double3 newRadii)
 Sets the radii of this ellipsoid to the given values.
 
partial? double3 ScaleToGeodeticSurface (double3 ellipsoidCenteredEllipsoidFixed)
 Scale the given Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) position along the geodetic surface normal so that it is on the surface of the ellipsoid.
 
partial double3 GeodeticSurfaceNormal (double3 ellipsoidCenteredEllipsoidFixed)
 Computes the normal of the plane tangent to the surface of the ellipsoid at the provided Ellipsoid-Centered, Ellipsoid-Fixed position.
 
partial double3 LongitudeLatitudeHeightToCenteredFixed (double3 longitudeLatitudeHeight)
 Convert longitude, latitude, and height to Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) coordinates.
 
partial double3 CenteredFixedToLongitudeLatitudeHeight (double3 ellipsoidCenteredEllipsoidFixed)
 Convert Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) coordinates to longitude, latitude, and height.
 

Properties

static CesiumEllipsoid WGS84 [get]
 Obtain a WGS84 ellipsoid.
 

Detailed Description

Definition at line 11 of file CesiumEllipsoid.cs.

Member Function Documentation

◆ CenteredFixedToLongitudeLatitudeHeight()

partial double3 CesiumForUnity.CesiumEllipsoid.CenteredFixedToLongitudeLatitudeHeight ( double3 ellipsoidCenteredEllipsoidFixed)

Convert Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) coordinates to longitude, latitude, and height.

Parameters
ellipsoidCenteredEllipsoidFixedThe ECEF coordinates in meters.
Returns
The longitude (X) and latitude (Y) are in degrees. The height (Z) is in meters above the ellipsoid, and should not be confused with a geoid, orthometric, or mean sea level height.

◆ GeodeticSurfaceNormal()

partial double3 CesiumForUnity.CesiumEllipsoid.GeodeticSurfaceNormal ( double3 ellipsoidCenteredEllipsoidFixed)

Computes the normal of the plane tangent to the surface of the ellipsoid at the provided Ellipsoid-Centered, Ellipsoid-Fixed position.

Parameters
ellipsoidCenteredEllipsoidFixedThe ECEF position in meters.
Returns
The normal at the ECEF position

◆ GetMaximumRadius()

double CesiumForUnity.CesiumEllipsoid.GetMaximumRadius ( )
inline

Gets the maximum radius of the ellipsoid in any dimension.

Returns
The maximum radius of the ellipsoid.

Definition at line 46 of file CesiumEllipsoid.cs.

◆ GetMinimumRadius()

double CesiumForUnity.CesiumEllipsoid.GetMinimumRadius ( )
inline

Gets the minimum radius of the ellipsoid in any dimension.

Returns
The minimum radius of the ellipsoid.

Definition at line 55 of file CesiumEllipsoid.cs.

◆ GetRadii()

partial double3 CesiumForUnity.CesiumEllipsoid.GetRadii ( )

Returns the radii of this ellipsoid.

◆ LongitudeLatitudeHeightToCenteredFixed()

partial double3 CesiumForUnity.CesiumEllipsoid.LongitudeLatitudeHeightToCenteredFixed ( double3 longitudeLatitudeHeight)

Convert longitude, latitude, and height to Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) coordinates.

Parameters
longitudeLatitudeHeightThe longitude (X) and latitude (Y) are in degrees. The height (Z) is in meters above the ellipsoid, and should not be confused with a geoid, orthometric, or mean sea level height.
Returns
The ECEF coordinates in meters.

◆ ScaleToGeodeticSurface()

partial? double3 CesiumForUnity.CesiumEllipsoid.ScaleToGeodeticSurface ( double3 ellipsoidCenteredEllipsoidFixed)

Scale the given Ellipsoid-Centered, Ellipsoid-Fixed (ECEF) position along the geodetic surface normal so that it is on the surface of the ellipsoid.

If the position is at the center of the ellipsoid, the result will be null.

Parameters
ellipsoidCenteredEllipsoidFixedThe ECEF position in meters.
Returns
The scaled position, or null if the position is at the center of the ellipsoid.

◆ SetRadii()

partial void CesiumForUnity.CesiumEllipsoid.SetRadii ( double3 newRadii)

Sets the radii of this ellipsoid to the given values.

Parameters
newRadiiThe new (x, y, z) radii of the ellipsoid.

Property Documentation

◆ WGS84

CesiumEllipsoid CesiumForUnity.CesiumEllipsoid.WGS84
staticget

Obtain a WGS84 ellipsoid.

Definition at line 16 of file CesiumEllipsoid.cs.


The documentation for this class was generated from the following file: