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