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 represents angles everywhere, this is a conformal projection, which means points are projected onto an arbrary sphere.
Members
static constant Cesium.Stereographic.HALF_UNIT_SPHERE : Stereographic
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.
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)
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 Sterographic instance if none was provided.
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 Sterographic instance if none was provided.
Computes the latitude based on an ellipsoid.
| Name | Type | Default | Description |
|---|---|---|---|
ellipsoid |
Ellipsoid |
Ellipsoid.WGS84
|
optional The ellipsoid on which to compute the longitude. |
Returns:
The latitude
