API Reference / sceneGeometry · function
Function: sceneGeometry()
function sceneGeometry(
engine,
jdUt,
lat,
lonEast,
opts?): SceneGeometry;
Compute the full forward physical spacetime scene at (jdUt, lat, lonEast):
apparent solar and lunar coordinates with barometric refraction, flat or
sloped 3D shadow casting and sweep rates, optional camera lighting and glare,
zenith-frame lunar bright limb, naked-eye planets, local diurnal cycle, and
compact chronosense summary.
Parameters
| Parameter | Type | Description |
|---|---|---|
engine | Engine | Ephemeris engine instance. |
jdUt | number | Instant in UT Julian Days. |
lat | number | Observer latitude in degrees, north positive. |
lonEast | number | Observer longitude in degrees, east positive. |
opts | SceneGeometryOptions | Optional elevation, terrain slope, Bortle class, camera aim, previous instant, and deadline. |
Returns
Full SceneGeometry snapshot.