Click or drag to resize

CDUDistance3D Method

Create a distance channel from XY or XYZ with direction options.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void Distance3D(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int x_ch,
	int y_ch,
	int z_ch,
	int type,
	int o_ch
)

public static void Distance3D(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int x_ch,
	int y_ch,
	int z_ch,
	int type,
	int o_ch
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database
line
Type: SystemInt32
Line symbol
x_ch
Type: SystemInt32
X channel [<define>DB_LOCK_READONLY</define>]
y_ch
Type: SystemInt32
Y channel [<define>DB_LOCK_READONLY</define>]
z_ch
Type: SystemInt32
Z channel [<define>DB_LOCK_READONLY</define>] (can be <define>NULLSYMB</define>)
type
Type: SystemInt32
<define>DU_DISTANCE_CHANNEL_TYPE</define>
o_ch
Type: SystemInt32
Output Distance channel [<define>DB_LOCK_READWRITE</define>]
See Also