Click or drag to resize

CDUHead Method

Applies a heading correction.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void Head(
	CDB db,
	int line,
	int i_ch,
	int o_ch,
	CTB tb,
	double dir
)

public static void Head(
	CDB db,
	int line,
	int i_ch,
	int o_ch,
	CTB tb,
	double dir
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
Database object
line
Type: SystemInt32
Line Symbol
i_ch
Type: SystemInt32
Channel to correct [<define>DB_LOCK_READONLY</define>]
o_ch
Type: SystemInt32
Corrected channel [<define>DB_LOCK_READWRITE</define>]
tb
Type: GeoEngine.Core.GXNetCTB
Heading table
dir
Type: SystemDouble
Line direction
Remarks
Updates channel with Direction in degrees azimuth (counter-clockwise relative the +Y direction). <define>GS_R8DM</define> if the line has no data, or if there is a problem.
See Also