Function lupnt::Illumination¶
Defined in File forces.h
Function Documentation¶
-
Real lupnt::Illumination(const Vec3 &r, const Vec3 &r_sun, Real R_body)¶
Computes the illumination factor for solar radiation pressure.
- Parameters:
r – Position vector of the spacecraft relative to the occulting body.
r_sun – Position vector of the Sun relative to the occulting body.
R_body – Radius of the occulting body.
- Returns:
Real Illumination factor (0 to 1).