 | CDUHead Method |
Applies a heading correction.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic 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
)
Public Shared Sub Head (
db As CDB,
line As Integer,
i_ch As Integer,
o_ch As Integer,
tb As CTB,
dir As Double
)
Public Shared Sub Head (
db As CDB,
line As Integer,
i_ch As Integer,
o_ch As Integer,
tb As CTB,
dir As Double
)
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
)
static member Head :
db : CDB *
line : int *
i_ch : int *
o_ch : int *
tb : CTB *
dir : float -> unit
static member Head :
db : CDB *
line : int *
i_ch : int *
o_ch : int *
tb : CTB *
dir : float -> unit
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