#include <BALL/VIEW/PRIMITIVES/point.h>
Public Member Functions | |
Constructors | |
Point () | |
Point (const Point &point) | |
Destructors | |
virtual | ~Point () |
virtual void | clear () |
Assignment methods | |
void | set (const Point &point) |
const Point & | operator= (const Point &point) |
void | swap (Point &point) |
debuggers and diagnostics | |
virtual bool | isValid () const |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
virtual void | getVertices (vector< Vector3 > &vertices) const |
Point class. An instance of Point represents an instance of the geometric representation "point". A point has the following properties.
Definition at line 34 of file point.h.
BALL::VIEW::Point::Point | ( | ) |
Default Constructor. The properties of this point are set to:
BALL::VIEW::Point::Point | ( | const Point & | point | ) |
Copy constructor
virtual BALL::VIEW::Point::~Point | ( | ) | [virtual] |
Destructor.
virtual void BALL::VIEW::Point::clear | ( | ) | [virtual] |
Explicit default initialization. Calls GeometricObject::clear Calls Vertex::clear
Reimplemented from BALL::VIEW::Vertex.
virtual void BALL::VIEW::Point::dump | ( | std::ostream & | s = std::cout , |
|
Size | depth = 0 | |||
) | const [virtual] |
Internal value dump. Dump the current value of this point to the output ostream s with dumping depth depth. Calls GeometricObject::dump. Calls Vertex::dump.
s | output stream where to output the value of this point | |
depth | the dumping depth |
Reimplemented from BALL::VIEW::Vertex.
virtual void BALL::VIEW::Point::getVertices | ( | vector< Vector3 > & | vertices | ) | const [virtual] |
Reimplemented from BALL::VIEW::GeometricObject.
virtual bool BALL::VIEW::Point::isValid | ( | ) | const [virtual] |
Internal state and consistency self-validation.
Reimplemented from BALL::VIEW::Vertex.
void BALL::VIEW::Point::set | ( | const Point & | point | ) |
Assignment.
void BALL::VIEW::Point::swap | ( | Point & | point | ) |
Swapping of point's. Swap the value of this point with the point point.
point | the point being swapped with this point |