32 {
x = xx;
y = yy;
z = zz; }
48 {
Ex = Exx;
Ey = Eyy;
Ez = Ezz; }
71 {
Bx = Bxx;
By = Byy;
Bz = Bzz; }
virtual BVector Bfield(const Point3D &P) const
Get field.
double getZ() const
Return coordinate.
An electric field vector.
virtual EBVectors EBfield(const Point3D &P) const
Get field.
EVector(double, double, double)
Constructor.
EBVectors(const EVector &E, const BVector &B)
Constructor.
double getEy() const
Get component.
double getY() const
Return coordinate.
const EMField & operator=(const EMField &right)
EMField()
Default constructor.
double getBz() const
Get component.
double getBy() const
Get component.
EVector getE() const
Get component.
double getEz() const
Get component.
double getBz() const
Get component.
double getEz() const
Get component.
BVector(double, double, double)
Constructor.
virtual EVector Efield(const Point3D &P) const
Get field.
Abstract base class for electromagnetic fields.
double getBx() const
Get component.
static const BVector ZeroBfield
The constant representing a zero magnetic field.
Point3D(double x, double y, double z)
Constructor.
double getEy() const
Get component.
double getEx() const
Get component.
BVector operator*(double scalar) const
Scale.
double getBy() const
Get component.
static const EVector ZeroEfield
The constant representing a zero electric field.
static const EBVectors ZeroEBfield
The constant representing a zero electromagnetic field.
BVector getB() const
Get field.
double getBx() const
Get component.
double getEx() const
Get component.
double getX() const
Return coordinate.
EVector operator*(double scalar) const
Scale.
A representation of an electromagnetic field.