GetDeclination Method

WRAPPER_API bool GetDeclination(AngularValue& declination, const GeodeticPoint& location, double& date)

Parameters

declination

The passed back magnetic declination

location

The location at which to compute the declination

date

The time at which to compute the declination, in decimal years.

Description

Computes the magnetic declination at the specified location and time. Returns true if successfull. Note: the date is in decimal years.