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