Ellipsoid
A quadratic surface defined in Cartesian coordinates by the equation (x / a)^2 + (y / b)^2 + (z / c)^2 = 1
. Primarily used by Cesium to represent the shape of planetary bodies.
Rather than constructing this object directly, one of the provided constants is normally used.
Parameters
The radius in the x direction. Default value - 0
The radius in the y direction. Default value - 0
The radius in the z direction. Default value - 0
See also
Constructors
Properties
Gets the maximum radius of the ellipsoid.
Gets the minimum radius of the ellipsoid.
Gets one over the radii of the ellipsoid.
Gets one over the squared radii of the ellipsoid.
Gets the radii of the ellipsoid.
Gets the squared radii of the ellipsoid.
Gets the radii of the ellipsoid raise to the fourth power.
Functions
Converts the provided array of cartesians to an array of cartographics.
Converts the provided cartesian to cartographic representation. The cartesian is undefined at the center of the ellipsoid.
Converts the provided array of cartographics to an array of Cartesians.
Converts the provided cartographic to Cartesian representation.
Computes the unit vector directed from the center of this ellipsoid toward the provided Cartesian position.
Computes the normal of the plane tangent to the surface of the ellipsoid at the provided position.
Computes the normal of the plane tangent to the surface of the ellipsoid at the provided position.
Computes the ellipsoid curvatures at a given position on the surface.
Computes a point which is the intersection of the surface normal with the z-axis.
Scales the provided Cartesian position along the geocentric surface normal so that it is on the surface of this ellipsoid.
Scales the provided Cartesian position along the geodetic surface normal so that it is on the surface of this ellipsoid. If the position is at the center of the ellipsoid, this function returns undefined.
Computes an approximation of the surface area of a rectangle on the surface of an ellipsoid using Gauss-Legendre 10th order quadrature.
Transforms a Cartesian X, Y, Z position from the ellipsoid-scaled space by multiplying its components by the result of Ellipsoid.radii.
Transforms a Cartesian X, Y, Z position to the ellipsoid-scaled space by multiplying its components by the result of Ellipsoid.oneOverRadii.