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.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static double rAverageSpacing(
	CDB db,
	int line,
	int xCh,
	int yCh
)

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

Parameters

db
Type: GeoEngine.Core.GXNetCDB
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