| CDUrDirection Method |
Returns the direction of a line.
Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
The direction is calculated from the first and last
non-dummy locations in the X and Y reference channels.
Syntax public static double rDirection(
CDB oDB1,
int i2,
int i3,
int i4
)
Public Shared Function rDirection (
oDB1 As CDB,
i2 As Integer,
i3 As Integer,
i4 As Integer
) As Double
public:
static double rDirection(
CDB^ oDB1,
int i2,
int i3,
int i4
)
static member rDirection :
oDB1 : CDB *
i2 : int *
i3 : int *
i4 : int -> float
Parameters
- oDB1
- Type: GeoEngine.Core.GXNetCDB
Database Object - i2
- Type: SystemInt32
Line Symbol - i3
- Type: SystemInt32
X reference channel [DB_LOCK_READONLY] - i4
- Type: SystemInt32
Y reference channel [DB_LOCK_READONLY]
Return Value
Type:
Double
direction in degrees azimuth (clockwise relative
the +Y direction).
GS_R8DM if the line has no data, or if there is a
problem. Problems will register errors.
See Also