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