 | CDBrLineBearing Method |
This method returns the bearing of a line.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic double rLineBearing(
int line
)
public double rLineBearing(
int line
)
Public Function rLineBearing (
line As Integer
) As Double
Public Function rLineBearing (
line As Integer
) As Double
public:
double rLineBearing(
int line
)
public:
double rLineBearing(
int line
)
member rLineBearing :
line : int -> float
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.
Remarks
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.
See Also