Click or drag to resize

CDUHead Method

Applies a heading correction.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void Head(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int i_ch,
	int o_ch,
	CTB tb,
	double dir
)

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

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
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.GXNetXCTB
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