![](../icons/Help.png) | CDUDistline Method |
Calculate cummulative distance for a line.
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static void Distline(
CGXNETCore gxNetShared,
CDB db,
int line,
int x_ch,
int y_ch,
ref double dist
)
Public Shared Sub Distline (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
ByRef dist As Double
)
public:
static void Distline(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int x_ch,
int y_ch,
double% dist
)
static member Distline :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
x_ch : int *
y_ch : int *
dist : float byref -> unit
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>] - dist
- Type: SystemDouble
Cummulative distance (retruned)
See Also