#include <statics.hpp>
Inheritance diagram for StaticLineBase:
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 |
Definition at line 199 of file statics.hpp.
void StaticLineBase::draw | ( | Screen & | screen, | |
const Screen::color & | c = Screen::BLACK | |||
) | [virtual] |
std::string StaticLineBase::get_povray_script | ( | ) | [virtual] |
bool StaticLineBase::inContact | ( | const vect3d & | pos | ) | [virtual] |
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.