Represents an abstract point whose coordinates are integers. More...
#include <OSDLPoint.h>
Public Member Functions | |
Point () | |
Basic abstract constructor of a point . | |
virtual | ~Point () throw () |
Virtual destructor of a point. | |
virtual void | flip ()=0 |
Flips the coordinates of this point (negates them all). | |
virtual const std::string | toString (Ceylan::VerbosityLevels level=Ceylan::high) const |
Returns an user-friendly description of the state of this object. | |
Static Public Attributes | |
static const Ceylan::Maths::Linear::MatrixIndex | Dimensions = 0 |
Tells what is the dimension of the space this point is defined in. |
Represents an abstract point whose coordinates are integers.
Definition at line 61 of file OSDLPoint.h.
Point::Point | ( | ) |
Basic abstract constructor of a point .
Definition at line 41 of file OSDLPoint.cc.
Point::~Point | ( | ) | throw () [virtual] |
Virtual destructor of a point.
Definition at line 48 of file OSDLPoint.cc.
virtual void OSDL::Video::TwoDimensional::Point::flip | ( | ) | [pure virtual] |
Flips the coordinates of this point (negates them all).
Implemented in OSDL::Video::TwoDimensional::Point2D, and OSDL::Video::TwoDimensional::Point3D.
const string Point::toString | ( | Ceylan::VerbosityLevels | level = Ceylan::high |
) | const [virtual] |
Returns an user-friendly description of the state of this object.
level | the requested verbosity level. |
Reimplemented in OSDL::Video::TwoDimensional::Point2D, and OSDL::Video::TwoDimensional::Point3D.
Definition at line 55 of file OSDLPoint.cc.
Referenced by operator<<().
const Ceylan::Maths::Linear::MatrixIndex OSDL::Video::TwoDimensional::Point::Dimensions = 0 [static] |
Tells what is the dimension of the space this point is defined in.
Reimplemented in OSDL::Video::TwoDimensional::Point2D, and OSDL::Video::TwoDimensional::Point3D.
Definition at line 108 of file OSDLPoint.h.