pub mod igrf;
pub struct OrthogonalStrength {
pub north: f64,
pub east: f64,
pub down: f64,
}
impl Default for OrthogonalStrength {
fn default() -> Self {
OrthogonalStrength {
north: 0.0,
east: 0.0,
down: 0.0,
}
}
}
pub struct MagneticComponents {
pub declination: f64,
pub inclination: f64,
pub horizontal_intensity: f64,
pub orthogonal_strength: OrthogonalStrength,
pub total_intensity: f64,
}