\( \def\bold#1{\bf #1} \newcommand{\d}{\mathrm{d}} \) BTP: Manual and Source Code Documentation

Power Uphill

bike mass [kg]
body mass [kg]
altitude gain [m]
climb length [km]
gradient [%]
time [s]
speed [km/h]
power [W]
power/mass [W/kg]
climbrate [m/min]

average power on climb stage

BTP  3.0
Routing/ClimbAnalysis/PowerCalculation
KOO Struct Reference

container struct to hold data of a coordinate More...

#include <DataTyps.h>

Collaboration diagram for KOO:

Public Attributes

qint64 id
 id inherited from OSM data
 
char balance
 AVL tree balance.
 
KOO * l
 
KOO * r
 
KOO * prev
 AVL tree pointers.
 
double lon
 
double lat
 
char status
 state of the KOO when used by different classes More...
 
crossdata * cd
 

Detailed Description

container struct to hold data of a coordinate

For everx node which is declared in OSM data one KOO will be constructed and stored in a AVL tree. If the cd attribute is unequal NULL this KOO represents a cross

Definition at line 82 of file DataTyps.h.

Member Data Documentation

double KOO::lat

the actual coordinate data

Definition at line 86 of file DataTyps.h.

char KOO::status

state of the KOO when used by different classes

multiple classes use this attribute to labe the KOO. The following labels do exist:
-1: recently inserted by OSM::insert() function
0: unused
1: right in the middle in the Way of a Neighbour, no cross
2: cross, at the ends of Neighbour
3: element of map (village, town, summit, ...)
10: will be save as cross by OSM::save_cross()
11: will NOT be save as cross by OSM::save_cross()
45: route drag and drop: belongs to track 46: route drag and drop: belongs to favourites

Definition at line 100 of file DataTyps.h.


The documentation for this struct was generated from the following file: