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