| CDUSplitLineByDirection Method |
The line is split when the heading (calculated from the current X and Y channels) changes by more than a specified amount over
a specified distance. Additional options to discard too-short lines
Available since Oasis montaj version: 8.5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes Split a line based on changes in heading.
Syntax public static void SplitLineByDirection(
CDB oDB1,
int i2,
int i3,
int i4,
double d5,
double d6,
double d7,
double d8,
int i9,
int i10,
ref int i11,
int i12,
int i13
)
Public Shared Sub SplitLineByDirection (
oDB1 As CDB,
i2 As Integer,
i3 As Integer,
i4 As Integer,
d5 As Double,
d6 As Double,
d7 As Double,
d8 As Double,
i9 As Integer,
i10 As Integer,
ByRef i11 As Integer,
i12 As Integer,
i13 As Integer
)
public:
static void SplitLineByDirection(
CDB^ oDB1,
int i2,
int i3,
int i4,
double d5,
double d6,
double d7,
double d8,
int i9,
int i10,
int% i11,
int i12,
int i13
)
static member SplitLineByDirection :
oDB1 : CDB *
i2 : int *
i3 : int *
i4 : int *
d5 : float *
d6 : float *
d7 : float *
d8 : float *
i9 : int *
i10 : int *
i11 : int byref *
i12 : int *
i13 : int -> unit
Parameters
- oDB1
- Type: GeoEngine.Core.GXNetCDB
Database - i2
- Type: SystemInt32
Line to be broken up [DB_LOCK_READONLY] - i3
- Type: SystemInt32
X Channel [DB_LOCK_READWRITE]. - i4
- Type: SystemInt32
Y Channel [DB_LOCK_READWRITE]. - d5
- Type: SystemDouble
Maximum angular change allowed (degrees)... - d6
- Type: SystemDouble
...over a distance of - d7
- Type: SystemDouble
Delete lines shorter than (can be rDUMMY) - d8
- Type: SystemDouble
Break on data XY separation greater than (can be rDUMMY) - i9
- Type: SystemInt32
See GEO_BOOLConstantGS_TRUE to save too-short segments as special lines, GS_FALSE to discard - i10
- Type: SystemInt32
See DU_SPLITLINEConstant ONLY DU_SPLITLINEXY_SEQUENTIAL and DU_SPLITLINEXY_VERSIONS - i11
- Type: SystemInt32
First line in the sequence, for DU_SPLITLINE_SEQUENTIAL. On return, the next line in the sequence. - i12
- Type: SystemInt32
Increment in the line number sequence, for DU_SPLITLINE_SEQUENTIAL - i13
- Type: SystemInt32
Reset starting fiducials to zero (0: No, 1: Yes)
See Also