public class GeoMagneticFieldFactory extends Object
GeoMagneticField
models.
This is a utility class, so its constructor is private.
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 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.
|
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)
public static GeoMagneticField getIGRF(double year)
year
- the decimal yearGeoMagneticField
for the given yearGeoMagneticField.getDecimalYear(int, int, int)
public static GeoMagneticField getWMM(double year)
year
- the decimal yearGeoMagneticField
for the given yearGeoMagneticField.getDecimalYear(int, int, int)
Copyright © 2002-2019 CS Systèmes d'information. All rights reserved.