Updraft  1.0
Open source glider flight visualisation tool.
OpenAirspace::ArcII Class Reference

Arc spcified by center point, start point and end point. More...

#include <geometry.h>

Inheritance diagram for OpenAirspace::ArcII:
Collaboration diagram for OpenAirspace::ArcII:

List of all members.

Public Member Functions

 ArcII ()
 Default constructor.
 ArcII (const Position &C_, const Position &S_, const Position E_, const bool CW_, const double &Z_)
 The arc constructor.
const PositionCentre () const
const PositionStart () const
const PositionEnd () const
const bool CW () const
const GType GetGType () const
 ~ArcII ()
 The class destructor.

Private Attributes

Positioncentre
 Centre of the arc.
Positionstart
 Startig point of the arc.
Positionend
 Ending point of the arc.
bool cw
 Clockwise flag.
double zoom
 Zoom level the element is visible.
bool valid
 Validity flag.

Detailed Description

Arc spcified by center point, start point and end point.


Constructor & Destructor Documentation

Default constructor.

OpenAirspace::ArcII::ArcII ( const Position C_,
const Position S_,
const Position  E_,
const bool  CW_,
const double &  Z_ 
)

The arc constructor.

Creates the arc element.

Parameters:
C_The centre of the element.
S_The starting point of the arc.
E_The end point of the arc.
CW_The clackwise flag (drawing direction).
Z_The zoom level the element is visible.

The class destructor.


Member Function Documentation

const Position& OpenAirspace::ArcII::Centre ( ) const [inline, virtual]
Returns:
The centre of the arc.

Implements OpenAirspace::Geometry.

const bool OpenAirspace::ArcII::CW ( ) const [inline]
Returns:
The clockwise flag (direction of drawing).
const Position& OpenAirspace::ArcII::End ( ) const [inline]
Returns:
The ending point of the arc.
const GType OpenAirspace::ArcII::GetGType ( ) const [inline, virtual]
Returns:
The type of the arc.

Implements OpenAirspace::Geometry.

const Position& OpenAirspace::ArcII::Start ( ) const [inline]
Returns:
The starting point of the arc.

Member Data Documentation

Centre of the arc.

bool OpenAirspace::ArcII::cw [private]

Clockwise flag.

Ending point of the arc.

Startig point of the arc.

Validity flag.

double OpenAirspace::ArcII::zoom [private]

Zoom level the element is visible.


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