• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

step/stepcore

StepCore::ChargedParticle

StepCore::ChargedParticle Class Reference
[Physical bodies]

#include <particle.h>

Inheritance diagram for StepCore::ChargedParticle:

Inheritance graph
[legend]

List of all members.


Detailed Description

ChargedParticle with mass and charge.

Definition at line 206 of file particle.h.


Public Member Functions

double charge () const
 ChargedParticle (Vector2d position=Vector2d(0), Vector2d velocity=Vector2d(0), double mass=1, double charge=0)
ChargedParticleErrors * chargedParticleErrors ()
void setCharge (double charge)

Protected Member Functions

ObjectErrors * createObjectErrors ()

Protected Attributes

double _charge

Constructor & Destructor Documentation

StepCore::ChargedParticle::ChargedParticle ( Vector2d  position = Vector2d(0),
Vector2d  velocity = Vector2d(0),
double  mass = 1,
double  charge = 0 
) [inline, explicit]

Constructs a charged particle.

Definition at line 212 of file particle.h.


Member Function Documentation

double StepCore::ChargedParticle::charge (  )  const [inline]

Charge of the particle.

Definition at line 217 of file particle.h.

ChargedParticleErrors* StepCore::ChargedParticle::chargedParticleErrors (  )  [inline]

Get (and possibly create) ChargedParticleErrors object.

Definition at line 222 of file particle.h.

ObjectErrors* StepCore::ChargedParticle::createObjectErrors (  )  [inline, protected, virtual]

Reimplemented from StepCore::Particle.

Definition at line 226 of file particle.h.

void StepCore::ChargedParticle::setCharge ( double  charge  )  [inline]

Charge of the particle.

Definition at line 219 of file particle.h.


Member Data Documentation

double StepCore::ChargedParticle::_charge [protected]

Definition at line 228 of file particle.h.


The documentation for this class was generated from the following file:
  • particle.h

step/stepcore

Skip menu "step/stepcore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal