Skip to main content

KeplerError

Type Alias KeplerError 

Source
pub type KeplerError = Error;
👎Deprecated:

use kepler::Error instead

Expand description

Backwards-compatible alias for [Error].

Aliased Type§

pub enum KeplerError {
    EccenOutOfBound(f64),
    Degenerate,
}

Variants§

§

EccenOutOfBound(f64)

Returned by Kepler::from_pv when the computed eccentricity is outside the valid range for an elliptical orbit.

§

Degenerate

Returned by Kepler::from_pv when the state has (near-)zero angular momentum (a rectilinear trajectory), for which the orbital plane — and therefore inclination and RAAN — are undefined.