siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
siderust::body Namespace Reference

Functions

qtty::Radian altitude_at (Body b, const Geodetic &obs, const Time< TT, MJD > &mjd)
 Compute a body's altitude (radians) at a given Time<TT, MJD> instant.
 
std::vector< Period< TT, MJD > > above_threshold (Body b, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find periods when a body is above a threshold altitude.
 
std::vector< Period< TT, MJD > > below_threshold (Body b, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find periods when a body is below a threshold altitude.
 
std::vector< CrossingEventcrossings (Body b, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find threshold-crossing events for a body.
 
std::vector< CulminationEventculminations (Body b, const Geodetic &obs, const Period< TT, MJD > &window, const SearchOptions &opts={})
 Find culmination events for a body.
 
std::vector< Period< TT, MJD > > altitude_ranges (Body b, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree min_alt, qtty::Degree max_alt, const SearchOptions &opts={})
 Find periods when a body's altitude is within [min, max].
 
qtty::Radian azimuth_at (Body b, const Geodetic &obs, const Time< TT, MJD > &mjd)
 Compute a body's azimuth (radians) at a given Time<TT, MJD> instant.
 
std::vector< AzimuthCrossingEventazimuth_crossings (Body b, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree bearing, const SearchOptions &opts={})
 Find azimuth-bearing crossing events for a body.
 
std::vector< AzimuthExtremumazimuth_extrema (Body b, const Geodetic &obs, const Period< TT, MJD > &window, const SearchOptions &opts={})
 Find azimuth extrema (northernmost/southernmost bearing) for a body.
 
std::vector< Period< TT, MJD > > in_azimuth_range (Body b, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree min, qtty::Degree max, const SearchOptions &opts={})
 Find periods when a body's azimuth is within [min, max].
 

Function Documentation

◆ above_threshold()

std::vector< Period< TT, MJD > > siderust::body::above_threshold ( Body  b,
const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  threshold,
const SearchOptions opts = {} 
)
inline

Find periods when a body is above a threshold altitude.

Definition at line 79 of file body_target.hpp.

◆ altitude_at()

qtty::Radian siderust::body::altitude_at ( Body  b,
const Geodetic obs,
const Time< TT, MJD > &  mjd 
)
inline

Compute a body's altitude (radians) at a given Time<TT, MJD> instant.

Definition at line 68 of file body_target.hpp.

References siderust::check_status(), siderust::detail::make_body_subject(), and siderust::Geodetic::to_c().

Referenced by siderust::BodyTarget::altitude_at().

◆ altitude_ranges()

std::vector< Period< TT, MJD > > siderust::body::altitude_ranges ( Body  b,
const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  min_alt,
qtty::Degree  max_alt,
const SearchOptions opts = {} 
)
inline

Find periods when a body's altitude is within [min, max].

Definition at line 140 of file body_target.hpp.

◆ azimuth_at()

qtty::Radian siderust::body::azimuth_at ( Body  b,
const Geodetic obs,
const Time< TT, MJD > &  mjd 
)
inline

Compute a body's azimuth (radians) at a given Time<TT, MJD> instant.

Definition at line 162 of file body_target.hpp.

References siderust::check_status(), siderust::detail::make_body_subject(), and siderust::Geodetic::to_c().

Referenced by siderust::BodyTarget::azimuth_at().

◆ azimuth_crossings()

std::vector< AzimuthCrossingEvent > siderust::body::azimuth_crossings ( Body  b,
const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  bearing,
const SearchOptions opts = {} 
)
inline

Find azimuth-bearing crossing events for a body.

Definition at line 173 of file body_target.hpp.

◆ azimuth_extrema()

std::vector< AzimuthExtremum > siderust::body::azimuth_extrema ( Body  b,
const Geodetic obs,
const Period< TT, MJD > &  window,
const SearchOptions opts = {} 
)
inline

Find azimuth extrema (northernmost/southernmost bearing) for a body.

Definition at line 189 of file body_target.hpp.

◆ below_threshold()

std::vector< Period< TT, MJD > > siderust::body::below_threshold ( Body  b,
const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  threshold,
const SearchOptions opts = {} 
)
inline

Find periods when a body is below a threshold altitude.

Definition at line 95 of file body_target.hpp.

◆ crossings()

std::vector< CrossingEvent > siderust::body::crossings ( Body  b,
const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  threshold,
const SearchOptions opts = {} 
)
inline

Find threshold-crossing events for a body.

Definition at line 111 of file body_target.hpp.

◆ culminations()

std::vector< CulminationEvent > siderust::body::culminations ( Body  b,
const Geodetic obs,
const Period< TT, MJD > &  window,
const SearchOptions opts = {} 
)
inline

Find culmination events for a body.

Definition at line 126 of file body_target.hpp.

◆ in_azimuth_range()

std::vector< Period< TT, MJD > > siderust::body::in_azimuth_range ( Body  b,
const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  min,
qtty::Degree  max,
const SearchOptions opts = {} 
)
inline

Find periods when a body's azimuth is within [min, max].

Definition at line 203 of file body_target.hpp.