 | CDUTableLookR2 Method |
Create a new channel using a constant real primary
reference and a secondary reference table.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void TableLookR2(
CDB db,
int line,
double val,
int i_ch,
int o_ch,
string r1,
string r2,
string field,
int mode,
double dist,
CTB tb
)
public static void TableLookR2(
CDB db,
int line,
double val,
int i_ch,
int o_ch,
string r1,
string r2,
string field,
int mode,
double dist,
CTB tb
)
Public Shared Sub TableLookR2 (
db As CDB,
line As Integer,
val As Double,
i_ch As Integer,
o_ch As Integer,
r1 As String,
r2 As String,
field As String,
mode As Integer,
dist As Double,
tb As CTB
)
Public Shared Sub TableLookR2 (
db As CDB,
line As Integer,
val As Double,
i_ch As Integer,
o_ch As Integer,
r1 As String,
r2 As String,
field As String,
mode As Integer,
dist As Double,
tb As CTB
)
public:
static void TableLookR2(
CDB^ db,
int line,
double val,
int i_ch,
int o_ch,
String^ r1,
String^ r2,
String^ field,
int mode,
double dist,
CTB^ tb
)
public:
static void TableLookR2(
CDB^ db,
int line,
double val,
int i_ch,
int o_ch,
String^ r1,
String^ r2,
String^ field,
int mode,
double dist,
CTB^ tb
)
static member TableLookR2 :
db : CDB *
line : int *
val : float *
i_ch : int *
o_ch : int *
r1 : string *
r2 : string *
field : string *
mode : int *
dist : float *
tb : CTB -> unit
static member TableLookR2 :
db : CDB *
line : int *
val : float *
i_ch : int *
o_ch : int *
r1 : string *
r2 : string *
field : string *
mode : int *
dist : float *
tb : CTB -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - line
- Type: SystemInt32
Line Handle - val
- Type: SystemDouble
Primary reference value - i_ch
- Type: SystemInt32
Secondary reference value [<define>DB_LOCK_READONLY</define>] - o_ch
- Type: SystemInt32
Output Channel Token [<define>DB_LOCK_READWRITE</define>] - r1
- Type: SystemString
Primary reference field name in table - r2
- Type: SystemString
Secondary reference field name in table - field
- Type: SystemString
Lookup result field name in table - mode
- Type: SystemInt32
<define>DU_LOOKUP</define> - dist
- Type: SystemDouble
CLOSE lookup distance. If 0.0, distance calculated from secondary reference channel. - tb
- Type: GeoEngine.Core.GXNetCTB
Table Object
Remarks
Fails if table does not contain requested fields.
The nominal data sample spacing for the CLOSE options is
calculated by finding the fiducial increment the
- primary index channel for Lookup1C_DU;
- secondary index channel for Lookup2C_DU, LookupIValC_DU
and LookupRValC_DU
See Also