#include <potential.hpp>
Inheritance diagram for StaticPotentialField:
Public Member Functions | |
StaticPotentialField (PField &pfield) | |
void | addFields (const vect3d &pos, vect3d &bfield, vect3d &efield) |
Add fiel values at given position. | |
void | addPotential (const vect3d &pos, prec_t &potential) |
Add the electrostatic potential from the given element. | |
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. |
Definition at line 199 of file potential.hpp.
StaticPotentialField::StaticPotentialField | ( | PField & | pfield | ) | [inline] |
Definition at line 202 of file potential.hpp.
void StaticPotentialField::draw | ( | Screen & | screen, | |
const Screen::color & | c = Screen::BLACK | |||
) | [virtual] |
std::string StaticPotentialField::get_povray_script | ( | ) | [virtual] |
bool StaticPotentialField::inContact | ( | const vect3d & | pos | ) | [virtual] |