 | CDULoadGravity Method |
Load a gravity survey file
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void LoadGravity(
CDB db,
CREG reg,
int line,
string data
)
public static void LoadGravity(
CDB db,
CREG reg,
int line,
string data
)
Public Shared Sub LoadGravity (
db As CDB,
reg As CREG,
line As Integer,
data As String
)
Public Shared Sub LoadGravity (
db As CDB,
reg As CREG,
line As Integer,
data As String
)
public:
static void LoadGravity(
CDB^ db,
CREG^ reg,
int line,
String^ data
)
public:
static void LoadGravity(
CDB^ db,
CREG^ reg,
int line,
String^ data
)
static member LoadGravity :
db : CDB *
reg : CREG *
line : int *
data : string -> unit
static member LoadGravity :
db : CDB *
reg : CREG *
line : int *
data : string -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - reg
- Type: GeoEngine.Core.GXNetCREG
REG to hold constant data - line
- Type: SystemInt32
Line in which to load data - data
- Type: SystemString
Gravity data file
Remarks
See GRAVITY.DAT for a description of the file format.
Existing data in the line will be replaced.
The following REG parameters will be set if they appear
in the data file:
default
OPERATOR ""
DATE none
INSTRUMENT ""
INSTRUMENT_SCALE "1.0"
BASE_GRAVITY "0.0"
FORMULA "1967"
GMT_DIFF "0.0"
DISTANCE_UNITS "m"
DENSITY_EARTH "2.67"
DENSITY_WATER "1.0"
DENSITY_ICE "0.95"
MAP_PROJECTION ""
If the corresponding constant is not specified and the
REG already has the constant defined, it is not changed.
If the constant is not defined and it is not already in
the REG, the indicated default will be set.
See Also