 | CGUGeometrics2DB Method |
Convert a Geometrics STN file to a database.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void Geometrics2DB(
CDB db,
CRA ra,
CWA log_wa,
int survey_mode,
int line_dir,
int corner,
int bi_uni,
double corner_x,
double corner_y,
double mark_space,
double line_space
)
public static void Geometrics2DB(
CDB db,
CRA ra,
CWA log_wa,
int survey_mode,
int line_dir,
int corner,
int bi_uni,
double corner_x,
double corner_y,
double mark_space,
double line_space
)
Public Shared Sub Geometrics2DB (
db As CDB,
ra As CRA,
log_wa As CWA,
survey_mode As Integer,
line_dir As Integer,
corner As Integer,
bi_uni As Integer,
corner_x As Double,
corner_y As Double,
mark_space As Double,
line_space As Double
)
Public Shared Sub Geometrics2DB (
db As CDB,
ra As CRA,
log_wa As CWA,
survey_mode As Integer,
line_dir As Integer,
corner As Integer,
bi_uni As Integer,
corner_x As Double,
corner_y As Double,
mark_space As Double,
line_space As Double
)
public:
static void Geometrics2DB(
CDB^ db,
CRA^ ra,
CWA^ log_wa,
int survey_mode,
int line_dir,
int corner,
int bi_uni,
double corner_x,
double corner_y,
double mark_space,
double line_space
)
public:
static void Geometrics2DB(
CDB^ db,
CRA^ ra,
CWA^ log_wa,
int survey_mode,
int line_dir,
int corner,
int bi_uni,
double corner_x,
double corner_y,
double mark_space,
double line_space
)
static member Geometrics2DB :
db : CDB *
ra : CRA *
log_wa : CWA *
survey_mode : int *
line_dir : int *
corner : int *
bi_uni : int *
corner_x : float *
corner_y : float *
mark_space : float *
line_space : float -> unit
static member Geometrics2DB :
db : CDB *
ra : CRA *
log_wa : CWA *
survey_mode : int *
line_dir : int *
corner : int *
bi_uni : int *
corner_x : float *
corner_y : float *
mark_space : float *
line_space : float -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
DB handle - ra
- Type: GeoEngine.Core.GXNetCRA
RA handle, STN file - log_wa
- Type: GeoEngine.Core.GXNetCWA
Log file WA handle - survey_mode
- Type: SystemInt32
Simple mode (1) or Mapped mode (2) - line_dir
- Type: SystemInt32
Survey line orientation: North-south - 0 East-west - 1 - corner
- Type: SystemInt32
Starting survey position: SW - 0, NW - 1, SE - 2, NE - 3, - bi_uni
- Type: SystemInt32
Bidirectional (0) or Unidirectional (1) - corner_x
- Type: SystemDouble
Starting position X - corner_y
- Type: SystemDouble
Starting position Y - mark_space
- Type: SystemDouble
Mark spacing - line_space
- Type: SystemDouble
Line spacing
Remarks
Assumes that the database is new and empty. If not, existing channels
with names X, Y, Mag1, Mag2, Time, Date, and Mark will deleted and then created.
Existing lines will be erased and then created if they are the same as the new ones.
See Also