Click or drag to resize

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
Syntax
public double rLineBearing(
	int line
)

public double rLineBearing(
	int line
)

Parameters

line
Type: SystemInt32
Line handle to look at

Return Value

Type: Double
Bearing 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