API Reference / skyPlacer · function
Function: skyPlacer()
function skyPlacer(
aimAzDeg,
aimAltDeg,
lens,
width,
height,
opts?): (azDeg, altTrueDeg, refractThis?) => SkyPlacement;
The projection at SkyView's heart as a standalone, pinnable function: build
the camera basis for an aim, and return the placer mapping an (azimuth,
true-altitude) direction to the image plane under the lens's projection
(rectilinear or fisheye), with optional atmospheric refraction. skyView
composes this internally; the golden suite pins it directly against the
Python reference (astroengine.skyview.place).
Parameters
| Parameter | Type |
|---|---|
aimAzDeg | number |
aimAltDeg | number |
lens | SkyLens |
width | number |
height | number |
opts | { pressure?: number; refraction?: boolean; tempC?: number; } |
opts.pressure? | number |
opts.refraction? | boolean |
opts.tempC? | number |
Returns
(azDeg, altTrueDeg, refractThis?) => SkyPlacement