MagneticField class

The result of evaluating the World Magnetic Model at one place and time.

Constructors

MagneticField({required double declination, required double inclination, required double horizontalIntensity, required double totalIntensity, required bool isWithinValidity})
Creates a field sample.
const

Properties

declination → double
Angle from true north to magnetic north in degrees, positive east.
final
hashCode → int
The hash code for this object.
no setterinherited
horizontalIntensity → double
Horizontal field intensity in nanotesla.
final
inclination → double
Dip angle of the field in degrees, positive downwards.
final
isWithinValidity → bool
Whether the date was inside the model's five-year validity window.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalIntensity → double
Total field intensity in nanotesla.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited