StaticLineBase Class Reference

Base class for a static line. More...

#include <statics.hpp>

Inheritance diagram for StaticLineBase:

Inheritance graph
[legend]
Collaboration diagram for StaticLineBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StaticLineBase (const vect3d &p0, const vect3d &p1, prec_t radius)
void draw (Screen &screen, const Screen::color &c=Screen::BLACK)
 Draw the elemnt onto a screen.
std::string get_povray_script ()
 Get povray script of the given element.
bool inContact (const vect3d &pos)
 Test whether given position is in contact with the given current element.

Protected Attributes

vect3d p0
vect3d p1
prec_t radius
vect3d l
prec_t l_len
vect3d ln
vect3d mid
vect3d lr
prec_t rr
prec_t dfms

Detailed Description

Base class for a static line.

Definition at line 199 of file statics.hpp.


Constructor & Destructor Documentation

StaticLineBase::StaticLineBase ( const vect3d p0,
const vect3d p1,
prec_t  radius 
)


Member Function Documentation

void StaticLineBase::draw ( Screen screen,
const Screen::color c = Screen::BLACK 
) [virtual]

Draw the elemnt onto a screen.

Implements StaticElement.

std::string StaticLineBase::get_povray_script (  )  [virtual]

Get povray script of the given element.

Implements StaticElement.

bool StaticLineBase::inContact ( const vect3d pos  )  [virtual]

Test whether given position is in contact with the given current element.

Implements StaticElement.


Member Data Documentation

vect3d StaticLineBase::p0 [protected]

Definition at line 209 of file statics.hpp.

vect3d StaticLineBase::p1 [protected]

Definition at line 209 of file statics.hpp.

prec_t StaticLineBase::radius [protected]

Definition at line 210 of file statics.hpp.

vect3d StaticLineBase::l [protected]

Definition at line 211 of file statics.hpp.

prec_t StaticLineBase::l_len [protected]

Definition at line 212 of file statics.hpp.

vect3d StaticLineBase::ln [protected]

Definition at line 213 of file statics.hpp.

vect3d StaticLineBase::mid [protected]

Definition at line 215 of file statics.hpp.

vect3d StaticLineBase::lr [protected]

Definition at line 216 of file statics.hpp.

prec_t StaticLineBase::rr [protected]

Definition at line 217 of file statics.hpp.

prec_t StaticLineBase::dfms [protected]

Definition at line 217 of file statics.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 6 20:31:17 2007 for Ephi by  doxygen 1.5.0