#include <line.h>

Public Member Functions |
|
|
Constructors
|
|
| Line () | |
| Default Constructor. |
|
| Line (const Line &line) | |
| Copy constructor with cloning
facility. |
|
|
Destructors
|
|
| virtual | ~Line () |
| Destructor. |
|
| virtual void | clear () |
| Explicit default initialization.
|
|
|
Assignment methods
|
|
| void | set (const Line &line) |
| Assign the line line to this
line. |
|
| const Line & | operator= (const Line &line) |
| Assignment operator. |
|
| void | swap (Line &line) |
| Swapping of line'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 |
An instance of Line represents an instance of the geometric representation "line". A line has the following properties.
| BALL::VIEW::Line::Line | ( | ) |
Default Constructor.
Construct new line. The properties of this line are set to:
| BALL::VIEW::Line::Line | ( | const Line & | line | ) |
Copy constructor with cloning facility.
| virtual void BALL::VIEW::Line::clear | ( | ) | [virtual] |
Explicit default initialization.
Calls GeometricObject::clear. Calls Vertex2::clear.
Reimplemented from BALL::VIEW::Vertex2.
| virtual void BALL::VIEW::Line::dump | ( | std::ostream & | s =
std::cout, |
|
| Size | depth =
0 |
|||
| ) | const [virtual] |
Internal value dump.
Dump the current value of this line to the output ostream s with dumping depth depth. Calls GeometricObject::dump. Calls Vertex2::dump.
| s | output stream where to output the value of this line | |
| depth | the dumping depth |
Reimplemented from BALL::VIEW::Vertex2.
| virtual bool BALL::VIEW::Line::isValid | ( | ) | const [virtual] |
Internal state and consistency self-validation.
Initiate self-validation of the internal state and data
structure consistencies of this line. If the internal state
of this line is correct (self-validated) and consistent
true is returned, false
otherwise. Calls GeometricObject::isValid.
Calls Vertex2::isValid.
true if the internal state of this
line is correct (self-validated) and consistent,
false otherwiseReimplemented from BALL::VIEW::Vertex2.
| void BALL::VIEW::Line::set | ( | const Line & | line | ) |
Assign the line line to this line.
the line line.
1.5.8