Caelus3,462 checksGitHubv0.25.0MIT
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

ParameterTypeDescription
engineEngineEphemeris engine instance.
jdUtnumberInstant in UT Julian Days.
latnumberObserver latitude in degrees, north positive.
lonEastnumberObserver longitude in degrees, east positive.
optsSceneGeometryOptionsOptional elevation, terrain slope, Bortle class, camera aim, previous instant, and deadline.

Returns

SceneGeometry

Full SceneGeometry snapshot.

Start building

Quickstart →