Package com.luciad.format.magneticnorth
Interface ILcdMagneticNorthMap
- All Known Implementing Classes:
TLcdIGRFMagneticNorthMap
,TLcdWMMMagneticNorthMap
public interface ILcdMagneticNorthMap
This method specifies how a calculator for the magnetic north should operate.
Several properties of the magnetic north vector can be calculated.
- Declination: the angle (degrees) between the magnetic north and the true north (the fault a compass would make). The declination is considered positive when the angle measured is east of true north and negative when west. In short: true bearing = magnetic bearing + declination.
- Inclination: the angle (degrees) between the magnetic north vector and a horizontal plane in the given point. This is an angle inwards or outwards the earth.
- Total intensity: the total intensity of the magnetic field at the given point. Unit is nanoTesla (nT)
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Return the first date value for which this map can retrieve magnetic north.getDate()
Returns the current date set to this map.Return the last date value for which this map can retrieve magnetic north.Returns the name of the model.Returns the abbreviated model name.boolean
isValidDate
(Calendar aDate) Checks whether the given date is a valid date for this map.float
retrieveDeclinationAt
(ILcdPoint aPoint) Given a point (and implicitly a time value via setDate()), this method calculates the declination of the magnetic north vector.float
retrieveInclinationAt
(ILcdPoint aPoint) Given a point (and implicitly a time value via setDate()), this method calculates the inclination of the magnetic north vector.float
retrieveTotalIntensityAt
(ILcdPoint aPoint) Given a point (and implicitly a time value via setDate()), this method calculates the total intensity of the magnetic north vector.void
Sets the date to retrieve the magnetic north at.
-
Method Details
-
getModelName
String getModelName()Returns the name of the model.- Returns:
- the name of the model
-
getShortModelName
String getShortModelName()Returns the abbreviated model name.- Returns:
- the abbreviated model name
-
retrieveDeclinationAt
Given a point (and implicitly a time value via setDate()), this method calculates the declination of the magnetic north vector.- Parameters:
aPoint
- The point on the globe, the reference is World Geodetic System 1984 (WGS 84)- Returns:
- the declination in degrees at the given point
-
retrieveInclinationAt
Given a point (and implicitly a time value via setDate()), this method calculates the inclination of the magnetic north vector.- Parameters:
aPoint
- The point on the globe, the reference is World Geodetic System 1984 (WGS 84)- Returns:
- the inclination in degrees at the given point
-
retrieveTotalIntensityAt
Given a point (and implicitly a time value via setDate()), this method calculates the total intensity of the magnetic north vector.- Parameters:
aPoint
- The point on the globe, the reference is World Geodetic System 1984 (WGS 84)- Returns:
- the total intensity in nanoTesla (nT) at the given point
-
isValidDate
Checks whether the given date is a valid date for this map.- Parameters:
aDate
- the date to check the validity for.- Returns:
- true if
getBeginValidDate() <= aDate <= getEndValidDate()
, false otherwise.
-
getBeginValidDate
Calendar getBeginValidDate()Return the first date value for which this map can retrieve magnetic north.- Returns:
- the first date value for which this map can retrieve magnetic north
-
getEndValidDate
Calendar getEndValidDate()Return the last date value for which this map can retrieve magnetic north.- Returns:
- the last date value for which this map can retrieve magnetic north
-
setDate
Sets the date to retrieve the magnetic north at.- Parameters:
aDate
- The date, isValidDate(aDate) must be true.- See Also:
-
getDate
Calendar getDate()Returns the current date set to this map.- Returns:
- The current date set to this map.
- See Also:
-
clone
- Throws:
CloneNotSupportedException
-