Updraft
1.0
Open source glider flight visualisation tool.
|
A structure defining area shape. More...
#include <assignedarea.h>
Public Types | |
enum | AreaShape { LINE, SECTOR } |
Assigned area shapes. More... | |
enum | Direction { FIXED, SYMMETRICAL, TO_NEXT_POINT, TO_PREVIOUS_POINT, TO_START_POINT } |
Definition of base direction with respect to two neighbour points or start point or fixed value. More... | |
Public Member Functions | |
bool | isCylinder () |
Return true if area is an FAI triangle. | |
AssignedArea () | |
Default constructor sets area to FAI cylinder. | |
Public Attributes | |
AreaShape | areaShape |
Area shape type. | |
Direction | direction |
Base direction of the area. | |
qreal | maxRadius |
Radius defining outer circle (maximum distance) Unit is km. | |
qreal | minRadius |
Radius defining inner circle (minimal distance) Unit is km. | |
qreal | outerAngle |
Angle from base direction to left and right, defining the range of outer sector. | |
qreal | innerAngle |
Angle from base direction to left and right, defining the range of inner sector. | |
qreal | fixedAngle |
Angle which is used when the direction is FIXED. |
A structure defining area shape.
Shape styles are same as in SeeYou 4.2 by NavIter.
Updraft::AssignedArea::AssignedArea | ( | ) | [inline] |
Default constructor sets area to FAI cylinder.
bool Updraft::AssignedArea::isCylinder | ( | ) | [inline] |
Return true if area is an FAI triangle.
Area shape type.
Base direction of the area.
Angle which is used when the direction is FIXED.
Angle from base direction to left and right, defining the range of inner sector.
(range is 2*innerAngle)
Radius defining outer circle (maximum distance) Unit is km.
Radius defining inner circle (minimal distance) Unit is km.
Angle from base direction to left and right, defining the range of outer sector.
(range is 2*outerAngle)