Click or drag to resize

CIGRFCalc Method

Calculate IGRF data for a given IGRF model.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void Calc(
	double el,
	double lon,
	double lat,
	ref double str_val,
	ref double inc,
	ref double dec
)

public void Calc(
	double el,
	double lon,
	double lat,
	ref double str_val,
	ref double inc,
	ref double dec
)

Parameters

el
Type: SystemDouble
Elevation (metres)
lon
Type: SystemDouble
Longitude (-180 to 180)
lat
Type: SystemDouble
Latitude (-90 to 90) Returns
str_val
Type: SystemDouble
Field strength
inc
Type: SystemDouble
Field inclination
dec
Type: SystemDouble
Field declination
Remarks
Calculate IGRF data (total field, inclination, and declination) for a given IGRF model. The model used will be the same as that obtained with Create_IGRF.
See Also