#include <Path.h>
Public Member Functions | |
Asteroid (AsteroidParam param) | |
Parametric constructor. | |
Asteroid (Position center, AsteroidParam param) | |
Center+Parametric constructor. | |
Asteroid (Position center, Angle rotation, AsteroidParam param) | |
Center+Rotation+Parametric constructor. | |
Asteroid (const Asteroid &asteroid) | |
Copy constructor. TODO verify. | |
Asteroid & | operator= (const Asteroid &asteroid) |
Operator =. TODO verify. | |
Position | evalCentredPos (Decimal s) |
Implementation of coresponding pure virtual function. | |
Position | evalCentredPosp (Decimal s) |
Implementation of coresponding pure virtual function. | |
Position | evalCentredPospp (Decimal s) |
Implementation of coresponding pure virtual function. | |
Angle | evalTheta (Decimal s) |
Implementation of coresponding pure virtual function. | |
Angle | evalThetap (Decimal s, Decimal sp) |
Implementation of coresponding pure virtual function. | |
Angle | evalThetapp (Decimal s, Decimal sp, Decimal spp) |
Implementation of coresponding pure virtual function. | |
void | setParam (AsteroidParam param) |
Sets _param parameter. | |
AsteroidParam | param () |
Gets _param parameter. | |
string | print () |
Prints on the screen all class parametes. |
Asteroid::Asteroid | ( | AsteroidParam | param | ) | [inline] |
Parametric constructor.
Asteroid::Asteroid | ( | Position | center, | |
AsteroidParam | param | |||
) | [inline] |
Center+Parametric constructor.
Asteroid::Asteroid | ( | Position | center, | |
Angle | rotation, | |||
AsteroidParam | param | |||
) | [inline] |
Center+Rotation+Parametric constructor.
Asteroid::Asteroid | ( | const Asteroid & | asteroid | ) | [inline] |
Copy constructor. TODO verify.
void Asteroid::setParam | ( | AsteroidParam | param | ) | [inline] |
Sets _param parameter.
AsteroidParam Asteroid::param | ( | ) | [inline] |
Gets _param parameter.
string Asteroid::print | ( | ) | [inline] |