![]() |
siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
|
ICRS target with proper motion (RAII wrapper over the FFI handle). More...
#include <siderust/target.hpp>


Public Member Functions | |
| ProperMotionTarget (spherical::direction::ICRS position, Time< TT, JD > epoch, ProperMotion proper_motion, std::string label="") | |
| Construct a proper-motion target from an ICRS direction and typed rates. | |
| ~ProperMotionTarget () | |
| ProperMotionTarget (ProperMotionTarget &&other) noexcept | |
| ProperMotionTarget & | operator= (ProperMotionTarget &&other) noexcept |
| ProperMotionTarget (const ProperMotionTarget &)=delete | |
| ProperMotionTarget & | operator= (const ProperMotionTarget &)=delete |
| std::string | name () const override |
| Human-readable name for this target (e.g. "Sun", "Vega", "ICRS(279.2°, 38.8°)"). | |
| Time< TT, JD > | epoch () const |
| Coordinate epoch. | |
| const spherical::direction::ICRS & | position () const |
| ICRS position at the coordinate epoch. | |
| const ProperMotion & | proper_motion () const |
| Proper motion rates. | |
| SiderustGenericTargetData | data () const |
| Raw coordinate payload stored in the FFI handle. | |
| qtty::Degree | altitude_at (const Geodetic &obs, const Time< TT, MJD > &mjd) const override |
| Compute altitude (degrees) at a given Time<TT, MJD> instant. | |
| std::vector< Period< TT, MJD > > | above_threshold (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={}) const override |
| Find periods when the object is above a threshold altitude. | |
| std::vector< Period< TT, MJD > > | below_threshold (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={}) const override |
| Find periods when the object is below a threshold altitude. | |
| std::vector< CrossingEvent > | crossings (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={}) const override |
| Find threshold-crossing events (rising / setting). | |
| std::vector< CulminationEvent > | culminations (const Geodetic &obs, const Period< TT, MJD > &window, const SearchOptions &opts={}) const override |
| Find culmination (local altitude extremum) events. | |
| qtty::Degree | azimuth_at (const Geodetic &obs, const Time< TT, MJD > &mjd) const override |
| Compute azimuth (degrees, N-clockwise) at a given Time<TT, MJD> instant. | |
| std::vector< AzimuthCrossingEvent > | azimuth_crossings (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree bearing, const SearchOptions &opts={}) const override |
| Find epochs when the object crosses a given azimuth bearing. | |
Public Member Functions inherited from siderust::Target | |
| virtual | ~Target ()=default |
| Target ()=default | |
| Target (const Target &)=delete | |
| Target & | operator= (const Target &)=delete |
| Target (Target &&)=default | |
| Target & | operator= (Target &&)=default |
ICRS target with proper motion (RAII wrapper over the FFI handle).
Constructs a generic target from an ICRS position plus annual proper-motion rates, then exposes the same altitude/azimuth tracking API as DirectionTarget.
Definition at line 422 of file target.hpp.
|
inline |
Construct a proper-motion target from an ICRS direction and typed rates.
Definition at line 427 of file target.hpp.
References siderust::check_status(), siderust::spherical::Direction< F >::dec(), epoch(), siderust::spherical::Direction< F >::ra(), and siderust::ProperMotion::to_c().
|
inline |
Definition at line 440 of file target.hpp.
|
inlinenoexcept |
Definition at line 447 of file target.hpp.
|
delete |
|
inlineoverridevirtual |
Find periods when the object is above a threshold altitude.
Implements siderust::Target.
Definition at line 511 of file target.hpp.
|
inlineoverridevirtual |
Compute altitude (degrees) at a given Time<TT, MJD> instant.
Implements siderust::Target.
Definition at line 503 of file target.hpp.
References siderust::check_status(), siderust::detail::make_generic_target_subject(), and siderust::Geodetic::to_c().
|
inlineoverridevirtual |
Compute azimuth (degrees, N-clockwise) at a given Time<TT, MJD> instant.
Implements siderust::Target.
Definition at line 558 of file target.hpp.
References siderust::check_status(), siderust::detail::make_generic_target_subject(), and siderust::Geodetic::to_c().
|
inlineoverridevirtual |
Find epochs when the object crosses a given azimuth bearing.
Implements siderust::Target.
Definition at line 567 of file target.hpp.
|
inlineoverridevirtual |
Find periods when the object is below a threshold altitude.
Implements siderust::Target.
Definition at line 523 of file target.hpp.
|
inlineoverridevirtual |
Find threshold-crossing events (rising / setting).
Implements siderust::Target.
Definition at line 535 of file target.hpp.
|
inlineoverridevirtual |
Find culmination (local altitude extremum) events.
Implements siderust::Target.
Definition at line 546 of file target.hpp.
|
inline |
Raw coordinate payload stored in the FFI handle.
Definition at line 495 of file target.hpp.
References siderust::check_status().
|
inlineoverridevirtual |
Human-readable name for this target (e.g. "Sun", "Vega", "ICRS(279.2°, 38.8°)").
Implements siderust::Target.
Definition at line 472 of file target.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 453 of file target.hpp.
|
inline |
ICRS position at the coordinate epoch.
Definition at line 489 of file target.hpp.
|
inline |
Proper motion rates.
Definition at line 492 of file target.hpp.