Click or drag to resize
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.GXNet
Assembly: 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
)

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