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

Full circle class. More...

#include <geometry.h>

Inheritance diagram for OpenAirspace::Circle:
Collaboration diagram for OpenAirspace::Circle:

List of all members.

Public Member Functions

 Circle ()
 default contructor
 Circle (const Position &C_, const double R_, const double &Z_)
 The circle constructr construct a circle from the params.
const PositionCentre () const
const double & R () const
const GType GetGType () const
 ~Circle ()
 Destructor.

Private Attributes

Positioncentre
 The centre of the circle.
double r
 The radius of the circle.
double zoom
 The zoom the element is visible.
bool valid
 Validity flag.

Detailed Description

Full circle class.


Constructor & Destructor Documentation

default contructor

OpenAirspace::Circle::Circle ( const Position C_,
const double  R_,
const double &  Z_ 
)

The circle constructr construct a circle from the params.

Parameters:
C_The centre of the corcle.
R_The radius of the circle.
Z_The zoom the element is visible.

Member Function Documentation

const Position& OpenAirspace::Circle::Centre ( ) const [inline, virtual]
Returns:
The Centre point of the circle.

Implements OpenAirspace::Geometry.

const GType OpenAirspace::Circle::GetGType ( ) const [inline, virtual]
Returns:
The Type of the element.

Implements OpenAirspace::Geometry.

const double& OpenAirspace::Circle::R ( ) const [inline]
Returns:
The radius of the circle.

Member Data Documentation

The centre of the circle.

double OpenAirspace::Circle::r [private]

The radius of the circle.

Validity flag.

double OpenAirspace::Circle::zoom [private]

The zoom 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