OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
Point3D Class Reference

A point in 3 dimensions. More...

#include <EMField.h>

Public Member Functions

 Point3D (double x, double y, double z)
 Constructor. More...
 
double getX () const
 Return coordinate. More...
 
double getY () const
 Return coordinate. More...
 
double getZ () const
 Return coordinate. More...
 

Private Attributes

double x
 
double y
 
double z
 

Detailed Description

A point in 3 dimensions.

Definition at line 33 of file EMField.h.

Constructor & Destructor Documentation

Point3D::Point3D ( double  x,
double  y,
double  z 
)

Constructor.

Definition at line 31 of file EMField.cpp.

References x, y, and z.

Member Function Documentation

double Point3D::getX ( ) const

Return coordinate.

Definition at line 34 of file EMField.cpp.

References x.

Referenced by BMultipoleField::Bfield(), and BSingleMultipoleField< order >::Bfield().

double Point3D::getY ( ) const

Return coordinate.

Definition at line 37 of file EMField.cpp.

References y.

Referenced by BMultipoleField::Bfield(), and BSingleMultipoleField< order >::Bfield().

double Point3D::getZ ( ) const

Return coordinate.

Definition at line 40 of file EMField.cpp.

References z.

Member Data Documentation

double Point3D::x
private

Definition at line 55 of file EMField.h.

Referenced by getX(), and Point3D().

double Point3D::y
private

Definition at line 55 of file EMField.h.

Referenced by getY(), and Point3D().

double Point3D::z
private

Definition at line 55 of file EMField.h.

Referenced by getZ(), and Point3D().


The documentation for this class was generated from the following files: