| CDUVoxelSection Method |
Slice a voxel to a grid under a database line.
Available since Oasis montaj version: 6.4.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Takes the first and XY locations in a line (using the
current X and Y channels) and defines a section grid
as a slice through a voxel file.
The grid cell sizes can be left as GS_R8DM, in which
case an attempt will be made to match the voxel cell
size, based on the line azimuth, voxel rotation, etc.
If the slice does NOT intersect the voxel, or if
there are fewer than 2 valid locations in the line,
then no grid file is created, but there is no error.
(This is to simplify creating multiple grids from
at once, where not all may intersect).
Syntax public static void VoxelSection(
CDB oDB1,
int i2,
int i3,
int i4,
CVOX oVOX5,
string str6,
double d7,
double d8,
int i9
)
Public Shared Sub VoxelSection (
oDB1 As CDB,
i2 As Integer,
i3 As Integer,
i4 As Integer,
oVOX5 As CVOX,
str6 As String,
d7 As Double,
d8 As Double,
i9 As Integer
)
public:
static void VoxelSection(
CDB^ oDB1,
int i2,
int i3,
int i4,
CVOX^ oVOX5,
String^ str6,
double d7,
double d8,
int i9
)
static member VoxelSection :
oDB1 : CDB *
i2 : int *
i3 : int *
i4 : int *
oVOX5 : CVOX *
str6 : string *
d7 : float *
d8 : float *
i9 : int -> unit
Parameters
- oDB1
- Type: GeoEngine.Core.GXNetCDB
Database Object - i2
- Type: SystemInt32
Input Line Symbol [READWRITE] - i3
- Type: SystemInt32
X Channel (DB_NO_SYMB if LineDir==0) - i4
- Type: SystemInt32
Y Channel (DB_NO_SYMB if LineDir==0) - oVOX5
- Type: GeoEngine.Core.GXNetCVOX
Voxel to slice - str6
- Type: SystemString
Output grid name - d7
- Type: SystemDouble
X cell size (horizontal) - d8
- Type: SystemDouble
Y cell size (vertical) - i9
- Type: SystemInt32
Interp: 1 - linear, 0 - nearest
See Also