#include <tube.h>
Inheritance diagram for VIEW::Tube:
Public Member Functions | |
Constructors | |
Tube () throw () | |
Default Constructor. | |
Tube (const Tube &tube) throw () | |
Copy constructor with cloning facility. | |
Destructors | |
virtual | ~Tube () throw () |
Destructor. | |
virtual void | clear () throw () |
Explicit default initialization. | |
Assignment methods | |
void | set (const Tube &tube) throw () |
Assignment. | |
const Tube & | operator= (const Tube &tube) throw () |
Assignment operator. | |
void | swap (Tube &tube) throw () |
Swapping of tube's. | |
Accessors: inspectors and mutators | |
float | getLength () const throw () |
Inspection of the length of the tube. | |
float | getSquareLength () const throw () |
Inspection of the square length of the tube. | |
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 |
Storers | |
float | getRadius () const throw () |
Get the radius. | |
void | setRadius (float radius) throw () |
Set the radius. |
An instance of Tube represents an instance of the geometric representation "tube". A tube has the following properties.
|
Default Constructor. Construct new tube. The properties of this tube are set to:
|
|
Copy constructor with cloning facility.
|
|
Destructor. Default destruction of this tube. |
|
Explicit default initialization. Calls GeometricObject::clear Calls Radius::clear Calls Vertex2::clear
Reimplemented from VIEW::Vertex2. |
|
Internal value dump. Dump the current value of this tube to the output ostream s with dumping depth depth. Calls GeometricObject::dump. Calls Radius::dump. Calls Vertex2::dump.
Reimplemented from VIEW::Vertex2. |
|
Inspection of the length of the tube. Access the length of this tube.
|
|
Get the radius.
|
|
Inspection of the square length of the tube. Access the square length of this tube.
|
|
Internal state and consistency self-validation.
Initiate self-validation of the internal state and data structure consistencies of this tube. If the internal state of this tube is correct (self-validated) and consistent
Reimplemented from VIEW::Vertex2. |
|
Assignment operator. Calls set. |
|
Assignment.
|
|
Set the radius.
|
|
Swapping of tube's. Swap the value of this tube with the tube tube.
|