#include <statics.hpp>
Inheritance diagram for StaticChargedSphere:
Public Member Functions | |
StaticChargedSphere (const vect3d &pos, prec_t radius, prec_t q) | |
virtual | ~StaticChargedSphere () |
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 342 of file statics.hpp.
virtual StaticChargedSphere::~StaticChargedSphere | ( | ) | [virtual] |
void StaticChargedSphere::draw | ( | Screen & | screen, | |
const Screen::color & | c = Screen::BLACK | |||
) | [virtual] |
std::string StaticChargedSphere::get_povray_script | ( | ) | [virtual] |
bool StaticChargedSphere::inContact | ( | const vect3d & | pos | ) | [virtual] |