Public Member Functions | Protected Attributes
Circle2D Class Reference

#include <Circle2D.h>

List of all members.

Public Member Functions

Point2D center () const
 Circle2D ()
 Circle2D (double x, double y, double radius)
 Circle2D (Point2D center, double radius)
double radius () const
void setCenter (Point2D center)
void setRadius (double radius)
void setX (double x)
void setY (double y)
std::vector< Point2D > vertices (int steps=40)
double x () const
double y () const
 ~Circle2D ()

Protected Attributes

Point2D m_Center
double m_Radius

Detailed Description

Author:
David Gossow

Definition at line 20 of file Circle2D.h.


Constructor & Destructor Documentation

Circle2D::Circle2D ( double  x,
double  y,
double  radius 
)

Creates a new 2D Circle given by center and radius

Circle2D::Circle2D ( Point2D  center,
double  radius 
)

Destructor, does nothing.


Member Function Documentation

Point2D Circle2D::center ( ) const
double Circle2D::radius ( ) const
void Circle2D::setCenter ( Point2D  center)
void Circle2D::setRadius ( double  radius)
void Circle2D::setX ( double  x)
void Circle2D::setY ( double  y)
std::vector<Point2D> Circle2D::vertices ( int  steps = 40)
double Circle2D::x ( ) const
double Circle2D::y ( ) const

Member Data Documentation

Point2D Circle2D::m_Center [protected]

Definition at line 49 of file Circle2D.h.

double Circle2D::m_Radius [protected]

Definition at line 50 of file Circle2D.h.


The documentation for this class was generated from the following file:


robbie_architecture
Author(s): Viktor Seib
autogenerated on Mon Oct 6 2014 02:53:09