terrainSlope property

double get terrainSlope

Current road gradient in degrees.

Represents the slope of the road surface at the current position. Positive values indicate upward slope (ascent), negative values indicate downward slope (descent), and zero indicates level terrain.

Returns

  • double: Slope in degrees (positive for ascent, negative for descent)

See also:

Implementation

double get terrainSlope;