コンテンツにスキップ

SunPositionError

このコンテンツはまだ日本語訳がありません。

Defined in: ephemeris.rs:242

pub enum SunPositionError {
UnsupportedBody(KnownBody),
CentralBodyIsSun,
}

Why a central body has no Sun position to offer.

UnsupportedBody(KnownBody)

The body has no ephemeris here. crate::planets carries Standish elements for Mercury through Saturn only, so Uranus and Neptune cannot be placed relative to the Sun.


The central body is the Sun, so there is no body-to-Sun vector — and no solar third-body term or shadow to model either.