Click or drag to resize
CDBrLineBearing Method
This method returns the bearing of a line.

Available since Oasis montaj version: 5.1.1
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
The channel must be locked DB_LOCK_READONLY or DB_LOCK_READWRITE This function simply returns a value set using the SetLineBearing_DB function. It returns rDUMMY for line categories other than DB_CATEGORY_LINE_FLIGHT. To calculate the line azimuth based on the first and last non-dummy locations, use the rDirection_DU function.
Syntax
public double rLineBearing(
	int i1
)

Parameters

i1
Type: SystemInt32
Line handle to look at

Return Value

Type: Double
Bearing value, rDUMMY if not set.
See Also