Updraft  1.0
Open source glider flight visualisation tool.
Updraft::AssignedArea Struct Reference

A structure defining area shape. More...

#include <assignedarea.h>

List of all members.

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.

Detailed Description

A structure defining area shape.

Shape styles are same as in SeeYou 4.2 by NavIter.


Member Enumeration Documentation

Assigned area shapes.

Other shapes like cylinder or FAI cylinder are special cases of SECTOR shape. E.g. FAI cylinder has maxRadius=0.5 outerAngle=180 and other values set to 0.

Enumerator:
LINE 
SECTOR 

Definition of base direction with respect to two neighbour points or start point or fixed value.

Enumerator:
FIXED 
SYMMETRICAL 
TO_NEXT_POINT 
TO_PREVIOUS_POINT 
TO_START_POINT 

Constructor & Destructor Documentation

Default constructor sets area to FAI cylinder.


Member Function Documentation

Return true if area is an FAI triangle.


Member Data Documentation

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)


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines