Vulcan
Aerospace Engineering Utilities Built on Janus
Loading...
Searching...
No Matches
Eclipse.hpp File Reference
#include <janus/janus.hpp>
#include <vulcan/core/Constants.hpp>
#include <vulcan/core/VulcanTypes.hpp>
Include dependency graph for Eclipse.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vulcan
namespace  vulcan::environment
namespace  vulcan::environment::eclipse
namespace  vulcan::environment::eclipse::constants

Functions

template<typename Scalar>
Scalar vulcan::environment::eclipse::shadow_cylindrical (const Vec3< Scalar > &r_sat, const Vec3< Scalar > &r_sun, double R_body=vulcan::constants::earth::R_eq)
 Cylindrical shadow function.
template<typename Scalar>
Scalar vulcan::environment::eclipse::shadow_conical (const Vec3< Scalar > &r_sat, const Vec3< Scalar > &r_sun, double R_body=vulcan::constants::earth::R_eq, double R_sun=constants::R_sun)
 Conical shadow function with penumbra.
template<typename Scalar>
Scalar vulcan::environment::eclipse::is_in_shadow (const Vec3< Scalar > &r_sat, const Vec3< Scalar > &r_sun, double R_body=vulcan::constants::earth::R_eq)
 Simple binary eclipse check using cylindrical model.
template<typename Scalar>
Scalar vulcan::environment::eclipse::is_sunlit (const Vec3< Scalar > &r_sat, const Vec3< Scalar > &r_sun, double R_body=vulcan::constants::earth::R_eq)
 Check if satellite is in sunlight.

Variables

constexpr double vulcan::environment::eclipse::constants::R_sun = 696340000.0
 Solar radius [m].
constexpr double vulcan::environment::eclipse::constants::AU = 149597870700.0
 Mean Earth-Sun distance [m] (1 AU).