new ZEA(header, optionsopt) → {ZEA}
Zenithal Equal-Area projection.
Parameters
-
header
object
JSON representation of the image header.
-
options
projParam
<optional>
Projection options: see
Zenithal
.
Returns
-
ZEA
Instance of a ZEA projection.
Source
Methods
privatestatic
_rToTheta(r) → {number}
Convert zenithal equal-area R coordinate to native theta angle.
Parameters
-
r
number
R zenithal equal-area coordinate in degrees.
Returns
-
number
Native theta angle in degrees.
Source
privatestatic
_thetaToR(theta) → {number}
Convert native theta angle to zenithal equal-area R.
Parameters
-
theta
number
Native theta angle in degrees.
Returns
-
number
R zenithal equal-area coordinate in degrees.