PARTONS
|
PARtonic Tomography Of Nucleon Software
|
Container to store a single point in 2D space. More...
Public Member Functions | |
Plot2D () | |
Default constructor. More... | |
Plot2D (const PhysicalType< double > &x, const PhysicalType< double > &y) | |
Assignment constructor. More... | |
~Plot2D () | |
Destructor. More... | |
PhysicalType< double > | getX () const |
Get x value. More... | |
void | setX (const PhysicalType< double > &x) |
Set x value. More... | |
PhysicalType< double > | getY () const |
Get y value. More... | |
void | setY (const PhysicalType< double > &y) |
Set y value. More... | |
Private Attributes | |
PhysicalType< double > | m_x |
x value. More... | |
PhysicalType< double > | m_y |
y value. More... | |
Container to store a single point in 2D space.
PARTONS::Plot2D::Plot2D | ( | ) |
Default constructor.
PARTONS::Plot2D::Plot2D | ( | const PhysicalType< double > & | x, |
const PhysicalType< double > & | y | ||
) |
Assignment constructor.
PARTONS::Plot2D::~Plot2D | ( | ) |
Destructor.
PhysicalType< double > PARTONS::Plot2D::getX | ( | ) | const |
Get x value.
PhysicalType< double > PARTONS::Plot2D::getY | ( | ) | const |
Get y value.
void PARTONS::Plot2D::setX | ( | const PhysicalType< double > & | x | ) |
Set x value.
void PARTONS::Plot2D::setY | ( | const PhysicalType< double > & | y | ) |
Set y value.
|
private |
x value.
|
private |
y value.