public class LazyLoadedGeoMagneticFields extends Object implements GeoMagneticFields
GeoMagneticFieldFactory
in Orekit 10.0Constructor and Description |
---|
LazyLoadedGeoMagneticFields(DataProvidersManager dataProvidersManager)
Create a factory for magnetic fields that uses the given data manager to load
magnetic field files.
|
Modifier and Type | Method and Description |
---|---|
GeoMagneticField |
getField(GeoMagneticFieldFactory.FieldModel type,
double year)
Get the
GeoMagneticField for the given model type and year. |
GeoMagneticField |
getIGRF(double year)
Get the IGRF model for the given year.
|
GeoMagneticField |
getWMM(double year)
Get the WMM model for the given year.
|
public LazyLoadedGeoMagneticFields(DataProvidersManager dataProvidersManager)
dataProvidersManager
- provides access to auxiliary data files.public GeoMagneticField getField(GeoMagneticFieldFactory.FieldModel type, double year)
GeoMagneticFields
GeoMagneticField
for the given model type and year.getField
in interface GeoMagneticFields
type
- the field model typeyear
- the decimal yearGeoMagneticField
for the given year and modelGeoMagneticField.getDecimalYear(int, int, int)
public GeoMagneticField getIGRF(double year)
GeoMagneticFields
getIGRF
in interface GeoMagneticFields
year
- the decimal yearGeoMagneticField
for the given yearGeoMagneticField.getDecimalYear(int, int, int)
public GeoMagneticField getWMM(double year)
GeoMagneticFields
getWMM
in interface GeoMagneticFields
year
- the decimal yearGeoMagneticField
for the given yearGeoMagneticField.getDecimalYear(int, int, int)
Copyright © 2002-2022 CS GROUP. All rights reserved.