public class GeoMagneticFieldFactory extends Object
GeoMagneticField
models.
This is a utility class, so its constructor is private.
GeoMagneticFields
,
LazyLoadedGeoMagneticFields
,
DataContext.getGeoMagneticFields()
Modifier and Type | Class and Description |
---|---|
static class |
GeoMagneticFieldFactory.FieldModel
The currently supported geomagnetic field models.
|
Modifier and Type | Method and Description |
---|---|
static GeoMagneticField |
getField(GeoMagneticFieldFactory.FieldModel type,
double year)
Get the
GeoMagneticField for the given model type and year. |
static LazyLoadedGeoMagneticFields |
getGeoMagneticFields()
Get the instance of
GeoMagneticFields that is called by methods in this
class. |
static GeoMagneticField |
getIGRF(double year)
Get the IGRF model for the given year.
|
static GeoMagneticField |
getWMM(double year)
Get the WMM model for the given year.
|
@DefaultDataContext public static LazyLoadedGeoMagneticFields getGeoMagneticFields()
GeoMagneticFields
that is called by methods in this
class.@DefaultDataContext public static GeoMagneticField getField(GeoMagneticFieldFactory.FieldModel type, double year)
GeoMagneticField
for the given model type and year.type
- the field model typeyear
- the decimal yearGeoMagneticField
for the given year and modelGeoMagneticField.getDecimalYear(int, int, int)
@DefaultDataContext public static GeoMagneticField getIGRF(double year)
year
- the decimal yearGeoMagneticField
for the given yearGeoMagneticField.getDecimalYear(int, int, int)
@DefaultDataContext public static GeoMagneticField getWMM(double year)
year
- the decimal yearGeoMagneticField
for the given yearGeoMagneticField.getDecimalYear(int, int, int)
Copyright © 2002-2020 CS GROUP. All rights reserved.