Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::Disc Class Reference
[Geometric Objects]

Disc class. More...

#include <disc.h>

Inheritance diagram for VIEW::Disc:

VIEW::GeometricObject TCircle3< T > List of all members.

Public Member Functions

Constructors
 Disc () throw ()
 Default Constructor.
 Disc (const Disc &disc) throw ()
 Copy constructor.
 Disc (const Circle3 &circle) throw ()
Destructors
virtual ~Disc () throw ()
 Destructor.
virtual void clear () throw ()
 Explicit default initialization.
Assignment methods
void set (const Disc &Disc) throw ()
 Assignment.
const Discoperator= (const Disc &Disc) throw ()
 Assignment operator.
void swap (Disc &Disc) throw ()
 Swapping of Disc's.
void setCircle (const Circle3 &circle) throw ()
const Circle3getCircle () const 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

Detailed Description

Disc class.

An instance of Disc represents an instance of the geometric representation "Disc". The class Disc is derived from the classes GeometricObject and Disc3. See these classes for further information concerning interface and additional methods.


Constructor & Destructor Documentation

VIEW::Disc::Disc  )  throw ()
 

Default Constructor.

virtual VIEW::Disc::~Disc  )  throw () [virtual]
 

Destructor.

Default destruction of this Disc.


Member Function Documentation

virtual void VIEW::Disc::clear  )  throw () [virtual]
 

Explicit default initialization.

See also:
GeometricObject::clear

Disc3::clear

Reimplemented from TCircle3< T >.

virtual void VIEW::Disc::dump std::ostream &  s = std::cout,
Size  depth = 0
const throw () [virtual]
 

Internal value dump.

Dump the current value of this Disc to the output ostream s with dumping depth depth. Calls GeometricObject::dump. Calls Disc3::dump.

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

Disc3::dump

Reimplemented from TCircle3< T >.

virtual bool VIEW::Disc::isValid  )  const throw () [virtual]
 

Internal state and consistency self-validation.

Initiate self-validation of the internal state and data structure consistencies of this Disc. If the internal state of this Disc is correct (self-validated) and consistent true is returned, false otherwise. Calls GeometricObject::isValid.

Returns:
bool true if the internal state of this Disc is correct (self-validated) and consistent, false otherwise
See also:
GeometricObject::isValid

Reimplemented from TCircle3< T >.

const Disc& VIEW::Disc::operator= const Disc Disc  )  throw ()
 

Assignment operator.

void VIEW::Disc::set const Disc Disc  )  throw ()
 

Assignment.

void VIEW::Disc::swap Disc Disc  )  throw ()
 

Swapping of Disc's.

Swap the value of this Disc with the Disc Disc.