InternationalGeomagneticReferenceFieldVectorReadCofFile Method (TextReader)
Reads an IGRF .COF file and creates a magnetic field vector from it.
Note that the rate coefficients for all blocks before the final block will be calculated using interpolation. Also, note that the units of the magnetic field vector are in tesla, the TargetPoint will still need to be set, and the magnetic field vector will default to being resolved in the Axes of the PrincipalFrame of Earth as obtained from the current CentralBodiesFacet unless the DefinedInFrame is set. The ReferenceDistance is set to EarthReferenceDistance, which is the official reference distance for the IGRF models.
public static InternationalGeomagneticReferenceFieldVector ReadCofFile( TextReader reader )
Public Shared Function ReadCofFile ( reader As TextReader ) As InternationalGeomagneticReferenceFieldVector
public: static InternationalGeomagneticReferenceFieldVector^ ReadCofFile( TextReader^ reader )
static member ReadCofFile : reader : TextReader -> InternationalGeomagneticReferenceFieldVector
|ArgumentNullException||Thrown when reader passed in is null.|