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

#include <BALL/VIEW/PRIMITIVES/disc.h>

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

List of all members.

Public Member Functions

Constructors

 Disc ()
 Disc (const Disc &disc)
 Disc (const Circle3 &circle)
Destructors

virtual ~Disc ()
virtual void clear ()
Assignment methods

void set (const Disc &Disc)
const Discoperator= (const Disc &Disc)
void swap (Disc &Disc)
void setCircle (const Circle3 &circle)
const Circle3getCircle () const
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

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.

Definition at line 29 of file disc.h.


Constructor & Destructor Documentation

BALL::VIEW::Disc::Disc (  ) 

Default Constructor.

BALL::VIEW::Disc::Disc ( const Disc disc  ) 

Copy constructor

BALL::VIEW::Disc::Disc ( const Circle3 circle  ) 
virtual BALL::VIEW::Disc::~Disc (  )  [virtual]

Destructor. Default destruction of this Disc.


Member Function Documentation

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

Explicit default initialization.

See also:
GeometricObject::clear
Disc3::clear

Reimplemented from BALL::TCircle3< T >.

virtual void BALL::VIEW::Disc::dump ( std::ostream &  s = std::cout,
Size  depth = 0 
) const [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 BALL::TCircle3< T >.

const Circle3& BALL::VIEW::Disc::getCircle (  )  const [inline]

Definition at line 87 of file disc.h.

virtual void BALL::VIEW::Disc::getVertices ( vector< Vector3 > &  vertices  )  const [virtual]

Reimplemented from BALL::VIEW::GeometricObject.

virtual bool BALL::VIEW::Disc::isValid (  )  const [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 BALL::TCircle3< T >.

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

Assignment operator.

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

Assignment.

void BALL::VIEW::Disc::setCircle ( const Circle3 circle  ) 
void BALL::VIEW::Disc::swap ( Disc Disc  ) 

Swapping of Disc's. Swap the value of this Disc with the Disc Disc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3