 | 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
Syntaxpublic static double rAverageSpacing(
CDB db,
int line,
int xCh,
int yCh
)
public static double rAverageSpacing(
CDB db,
int line,
int xCh,
int yCh
)
Public Shared Function rAverageSpacing (
db As CDB,
line As Integer,
xCh As Integer,
yCh As Integer
) As Double
Public Shared Function rAverageSpacing (
db As CDB,
line As Integer,
xCh As Integer,
yCh As Integer
) As Double
public:
static double rAverageSpacing(
CDB^ db,
int line,
int xCh,
int yCh
)
public:
static double rAverageSpacing(
CDB^ db,
int line,
int xCh,
int yCh
)
static member rAverageSpacing :
db : CDB *
line : int *
xCh : int *
yCh : int -> float
static member rAverageSpacing :
db : CDB *
line : int *
xCh : int *
yCh : int -> float
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