| 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.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
The channel must be locked <define>DB_LOCK_READONLY</define> or <define>DB_LOCK_READWRITE</define>
This function simply returns a value set using the SetLineBearing_DB
function. It returns <define>rDUMMY</define> for line categories other than
<define>DB_CATEGORY_LINE_FLIGHT</define>.
To calculate the line azimuth based on the first and
last non-dummy locations, use the rDirection_DU function.
Syntax public double rLineBearing(
int line
)
Public Function rLineBearing (
line As Integer
) As Double
public:
double rLineBearing(
int line
)
member rLineBearing :
line : int -> float
Parameters
- line
- Type: SystemInt32
Line handle to look at
Return Value
Type:
DoubleBearing value, <define>rDUMMY</define> if not set.
See Also