Represents a point in stereographic coordinates, which can be obtained by projecting a cartesian coordinate from one pole onto a tangent plane at the other pole.
The stereographic projection faithfully represents the relative directions of all great circles passing through its center point.
To faithfully represent angles everywhere, this is a conformal projection, which means points are projected onto an arbitrary sphere.
| Name | Type | Description |
|---|---|---|
position |
Cartesian2 | optional The stereographic coordinates. |
tangentPlane |
EllipsoidTangentPlane | optional The tangent plane onto which the point was projected. |
Members
static constant Cesium.Stereographic.HALF_UNIT_SPHERE : Ellipsoid
An Ellipsoid instance initialized to radii of (0.5, 0.5, 0.5).
Computes the conformal latitude, or the ellipsoidal latitude projected onto an arbitrary sphere.
readonly ellipsoid : Ellipsoid
Gets the ellipsoid.
Computes the longitude
Gets the x coordinate
Gets the y coordinate
Methods
static Cesium.Stereographic.clone(stereographic, result) → Stereographic
Duplicates a Stereographic instance.
| Name | Type | Description |
|---|---|---|
stereographic |
Stereographic | The Stereographic to duplicate. |
result |
Stereographic | optional The object onto which to store the result. |
Returns:
The modified result parameter or a new Stereographic instance if one was not provided. (Returns undefined if stereographic is undefined)
static Cesium.Stereographic.fromCartesian(cartesian, result) → Stereographic
Computes the projection of the provided 3D position onto the 2D polar plane, radially outward from the provided origin.
| Name | Type | Description |
|---|---|---|
cartesian |
Cartesian3 | The point to project. |
result |
Stereographic | optional The object onto which to store the result. |
Returns:
The modified result parameter or a new Stereographic instance if none was provided.
static Cesium.Stereographic.fromCartesianArray(cartesians, result) → Array.<Stereographic>
Computes the projection of the provided 3D positions onto the 2D polar plane, radially outward from the provided origin.
| Name | Type | Description |
|---|---|---|
cartesians |
Array.<Cartesian3> | The points to project. |
result |
Array.<Stereographic> | optional The object onto which to store the result. |
Returns:
The modified result parameter or a new Stereographic instance if none was provided.
Computes the latitude based on an ellipsoid.
| Name | Type | Default | Description |
|---|---|---|---|
ellipsoid |
Ellipsoid |
Ellipsoid.default
|
optional The ellipsoid on which to compute the latitude. |
Returns:
The latitude
