Click or drag to resize

CDUrAverageSpacing Method

Returns the average spacing along a line. This is a simple average of the individual point separations after dummies are removed. Returns DUMMY if there are fewer than two valid locations.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static double rAverageSpacing(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int xCh,
	int yCh
)

public static double rAverageSpacing(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int xCh,
	int yCh
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database
line
Type: SystemInt32
Line handle
xCh
Type: SystemInt32
X channel [<define>DB_LOCK_READONLY</define>]
yCh
Type: SystemInt32
Y channel [<define>DB_LOCK_READONLY</define>]

Return Value

Type: Double
See Also