Click or drag to resize
CDUXyzLine2 Method
Break up a line based on tolerance of lateral and horizontal distance.

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

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The original line will be deleted.
Syntax
public static void XyzLine2(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int x_ch,
	int y_ch,
	int dirctn,
	double tolrnc,
	double down_tol
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database
line
Type: SystemInt32
Line to be broken up [<define>DB_LOCK_READONLY</define>]
x_ch
Type: SystemInt32
Channel X [<define>DB_LOCK_READWRITE</define>]
y_ch
Type: SystemInt32
Channel Y [<define>DB_LOCK_READWRITE</define>]
dirctn
Type: SystemInt32
Line direction, 0-any, 1-X, 2-Y.
tolrnc
Type: SystemDouble
Tolerance, DUMMY for the default (10% of the separation between the first two points.
down_tol
Type: SystemDouble
Downline Tolerance, DUMMY for none
See Also