Click or drag to resize
CDUSplitLineXY2 Method
Break up a line based on tolerance of lateral and horizontal distance, with options for the output line names.

Available since Oasis montaj version: 8.4.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
The same as SplitLineXY, but with an option to reset each line's starting fiducial to zero.
Syntax
public static void SplitLineXY2(
	CDB oDB1,
	int i2,
	int i3,
	int i4,
	int i5,
	double d6,
	double d7,
	int i8,
	ref int i9,
	int i10,
	int i11
)

Parameters

oDB1
Type: GeoEngine.Core.GXNetCDB
Database
i2
Type: SystemInt32
Line to be broken up [DB_LOCK_READONLY]
i3
Type: SystemInt32
Channel X [DB_LOCK_READWRITE]
i4
Type: SystemInt32
Channel Y [DB_LOCK_READWRITE]
i5
Type: SystemInt32
Line direction, 0-any, 1-X, 2-Y.
d6
Type: SystemDouble
Lateral tolerance, DUMMY for the default (10% of the separation between the first two points.
d7
Type: SystemDouble
Downline Tolerance, DUMMY for none
i8
Type: SystemInt32
See DU_SPLITLINEConstant
i9
Type: SystemInt32
First line in the sequence, for DU_SPLITLINE_SEQUENTIAL. On return, the next line in the sequence.
i10
Type: SystemInt32
Increment in the line number sequence, for DU_SPLITLINE_SEQUENTIAL
i11
Type: SystemInt32
Reset starting fiducials to zero (0: No, 1: Yes)
See Also