#include <sphere.h>
Inheritance diagram for VIEW::Sphere:
Public Member Functions | |
Constructors | |
Sphere () throw () | |
Default Constructor. | |
Sphere (const Sphere &sphere) throw () | |
Copy constructor with cloning facility. | |
Destructors | |
virtual | ~Sphere () throw () |
Destructor. | |
virtual void | clear () throw () |
Explicit default initialization. | |
Assignment methods | |
void | set (const Sphere &sphere) throw () |
Assignment. | |
const Sphere & | operator= (const Sphere &sphere) throw () |
Assignment operator. | |
void | swap (Sphere &sphere) throw () |
Swapping of sphere's. | |
void | setRadius (float new_radius) throw () |
float | getRadius () const throw () |
void | setPosition (const Vector3 &v3) throw () |
const Vector3 & | getPosition () const throw () |
void | setPositionAddress (const Vector3 &v3) throw () |
Vector3 * | getPositionAddress () throw () |
bool | isDefaultPositionAddress () throw () |
void | setDefaultPositionAddress () throw () |
debuggers and diagnostics | |
virtual bool | isValid () const throw () |
Internal state and consistency self-validation. | |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const throw () |
Internal value dump. | |
virtual void | getVertices (vector< Vector3 > &vertices) const |
Protected Attributes | |
Vector3 * | point_ptr_ |
An instance of Sphere represents an instance of the geometric representation "sphere". The class Sphere is derived from the classes GeometricObject and Sphere3. See these classes for further information concerning interface and additional methods.
|
Default Constructor.
|
|
Copy constructor with cloning facility.
|
|
Destructor.
|
|
Explicit default initialization.
Reimplemented from TSphere3< T >. |
|
Internal value dump. Dump the current value of this sphere to the output ostream s with dumping depth depth. Calls GeometricObject::dump. Calls Sphere3::dump.
Reimplemented from TSphere3< T >. |
|
Internal state and consistency self-validation.
Initiate self-validation of the internal state and data structure consistencies of this sphere. If the internal state of this sphere is correct (self-validated) and consistent
Reimplemented from TSphere3< T >. |
|
Assignment operator.
|
|
Assignment.
|
|
Swapping of sphere's.
|