BALL::VIEW::Point Class Reference
[Geometric Objects]

Point class. More...

#include <point.h>

Inheritance diagram for BALL::VIEW::Point:
Inheritance graph
[legend]

List of all members.


Public Member Functions

Constructors
Point ()
Default Constructor.
Point (const Point &point)
Copy constructor.
Destructors
virtual ~Point ()
Destructor.
virtual void clear ()
Explicit default initialization.
Assignment methods
void set (const Point &point)
Assignment.
const Point & operator= (const Point &point)
Assignment operator.
void swap (Point &point)
Swapping of point's.
debuggers and diagnostics
virtual bool isValid () const
Internal state and consistency self-validation.
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
Internal value dump.
virtual void getVertices (vector< Vector3 > &vertices) const

Detailed Description

Point class.

An instance of Point represents an instance of the geometric representation "point". A point has the following properties.


Constructor & Destructor Documentation

BALL::VIEW::Point::Point ( )

Default Constructor.

The properties of this point are set to:

  • color - to the color black
  • vertex - to the vector (0,0,0)

Member Function Documentation

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.

Parameters:
s output stream where to output the value of this point
depth the dumping depth
See also:
GeometricObject::dump

Vertex::dump

Reimplemented from BALL::VIEW::Vertex.

const Point& BALL::VIEW::Point::operator= ( const Point & point )

Assignment operator.

Calls set.

void BALL::VIEW::Point::swap ( Point & point )

Swapping of point's.

Swap the value of this point with the point point.

Parameters:
point the point being swapped with this point

Generated on Thu Aug 6 18:30:58 2009 for BALL by doxygen 1.5.8