new Zenithal(header, optionsopt) → {Zenithal}
Base class for zenithal WCS (World Coordinate System) projections.
Parameters
-
header
object
JSON representation of the image header.
-
options
projParam
<optional>
Projection options: see
Projection
.
Returns
-
Zenithal
Instance of a zenithal projection.
Source
Methods
privatestatic
_phiRToRed(phiR) → {leaflet.Point}
Convert zenithal (phi,R) coordinates to reduced coordinates.
Parameters
-
phiR
leaflet.LatLng
(phi,R) zenithal coordinates in degrees.
Returns
-
leaflet.Point
Reduced coordinates.
Source
privatestatic
_projInit()
Initialize a Zenithal projection.
Source
privatestatic
_redToPhiR(red) → {leaflet.LatLng}
Convert reduced coordinates to zenithal (phi,R) coordinates.
Parameters
-
red
leaflet.Point
Reduced coordinates.
Returns
-
leaflet.LatLng
(phi,R) zenithal coordinates in degrees.