PARTONS  
PARtonic Tomography Of Nucleon Software
Public Member Functions | Private Attributes | List of all members
PARTONS::Plot2D Class Reference

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...
 

Detailed Description

Container to store a single point in 2D space.

Constructor & Destructor Documentation

◆ Plot2D() [1/2]

PARTONS::Plot2D::Plot2D ( )

Default constructor.

◆ Plot2D() [2/2]

PARTONS::Plot2D::Plot2D ( const PhysicalType< double > &  x,
const PhysicalType< double > &  y 
)

Assignment constructor.

◆ ~Plot2D()

PARTONS::Plot2D::~Plot2D ( )

Destructor.

Member Function Documentation

◆ getX()

PhysicalType< double > PARTONS::Plot2D::getX ( ) const

Get x value.

◆ getY()

PhysicalType< double > PARTONS::Plot2D::getY ( ) const

Get y value.

◆ setX()

void PARTONS::Plot2D::setX ( const PhysicalType< double > &  x)

Set x value.

◆ setY()

void PARTONS::Plot2D::setY ( const PhysicalType< double > &  y)

Set y value.

Member Data Documentation

◆ m_x

PhysicalType<double> PARTONS::Plot2D::m_x
private

x value.

◆ m_y

PhysicalType<double> PARTONS::Plot2D::m_y
private

y value.


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