#include <Circle.h>


Public Member Functions | |
| Circle (float radius, int steps) | |
| Constructs a new Circle of given radius and resolution. | |
| Circle (const std::string &name, float radius, int steps) | |
| Constructs a new Circle of given radius and resolution. | |
| Circle (const Circle ©) | |
| Copy constructor for Circle. | |
| Shape::ShapeType | type () |
| Returns the Circle's type. | |
| float | radius () |
| Returns the Circle's radius. | |
Protected Member Functions | |
| void | draw () |
| Called when a Node is to be drawn. | |
The Circle class is type of Shape which draws a circle of a given radius with a given resolution.
| Circle::Circle | ( | float | radius, | |
| int | steps | |||
| ) |
Constructs a new Circle of given radius and resolution.
| radius | radius of the circle | |
| steps | number of points along the edge of the circle |
| Circle::Circle | ( | const std::string & | name, | |
| float | radius, | |||
| int | steps | |||
| ) |
| Shape::ShapeType Circle::type | ( | ) | [inline, virtual] |
| void Circle::draw | ( | ) | [protected, virtual] |
1.5.5