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) throws OrekitException
GeoMagneticField for the given model type and year.type - the field model typeyear - the decimal yearGeoMagneticField for the given year and modelOrekitException - if the models could not be loadedGeoMagneticField.getDecimalYear(int, int, int)public static GeoMagneticField getIGRF(double year) throws OrekitException
year - the decimal yearGeoMagneticField for the given yearOrekitException - if the IGRF models could not be loadedGeoMagneticField.getDecimalYear(int, int, int)public static GeoMagneticField getWMM(double year) throws OrekitException
year - the decimal yearGeoMagneticField for the given yearOrekitException - if the WMM models could not be loadedGeoMagneticField.getDecimalYear(int, int, int)Copyright © 2002-2016 CS Systèmes d'information. All rights reserved.