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

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

#include <geometry.h>

Inheritance diagram for OpenAirspace::ArcI:
Collaboration diagram for OpenAirspace::ArcI:

List of all members.

Public Member Functions

 ArcI ()
 Default constructor.
 ArcI (const Position &C_, const double &R_, const bool CW_, const double &S_, const double &E_, const double &Z_)
 The arc constructor.
const PositionCentre () const
const double & Start () const
const double & End () const
const bool CW () const
const double R () const
const GType GetGType () const
 ~ArcI ()
 Destructor.

Private Attributes

Positioncentre
 Centre of the arc.
double r
 Radius in nm.
bool cw
 Arc direction.
double start
 Start angle in deg.
double end
 End angle in deg.
double zoom
 Zoom level the element is visible.
bool valid
 Validity flag.

Detailed Description

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


Constructor & Destructor Documentation

Default constructor.

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

The arc constructor.

Creates the arc element.

Parameters:
C_The centre of the element.
R_The radius of the arc.
CW_The clockwise flag.
S_The starting angle of the arc.
E_The ending angle of the arc.
Z_The zoom level the element is visible.

Destructor.


Member Function Documentation

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

Implements OpenAirspace::Geometry.

const bool OpenAirspace::ArcI::CW ( ) const [inline]
Returns:
The orientation (clockwise flag)
const double& OpenAirspace::ArcI::End ( ) const [inline]
Returns:
The end angle of the arc.
const GType OpenAirspace::ArcI::GetGType ( ) const [inline, virtual]
Returns:
The type of the arc.

Implements OpenAirspace::Geometry.

const double OpenAirspace::ArcI::R ( ) const [inline]
Returns:
The radius of the arc.
const double& OpenAirspace::ArcI::Start ( ) const [inline]
Returns:
The start angle of the arc.

Member Data Documentation

Centre of the arc.

bool OpenAirspace::ArcI::cw [private]

Arc direction.

double OpenAirspace::ArcI::end [private]

End angle in deg.

double OpenAirspace::ArcI::r [private]

Radius in nm.

double OpenAirspace::ArcI::start [private]

Start angle in deg.

bool OpenAirspace::ArcI::valid [private]

Validity flag.

double OpenAirspace::ArcI::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