new Zenithal(header, optionsopt) → {Zenithal}
Base class for zenithal WCS (World Coordinate System) projections.
Parameters
-
header
objectJSON representation of the image header.
-
options
projParam<optional>
Projection options: see
Projection.
Returns
-
ZenithalInstance 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.PointReduced 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.PointReduced coordinates.
Returns
-
leaflet.LatLng(phi,R) zenithal coordinates in degrees.