Belle II Software development
EKLMGeometry::Point Class Reference

2D point. More...

#include <EKLMGeometry.h>

Inheritance diagram for EKLMGeometry::Point:

Public Member Functions

 Point ()
 Constructor.
 
double getX () const
 Get X coordinate.
 
void setX (double x)
 Set X coordinate.
 
double getY () const
 Get Y coordinate.
 
void setY (double y)
 Set Y coordinate.
 

Private Member Functions

 ClassDef (Point, 1)
 Class version.
 

Private Attributes

double m_X = 0
 X coordinate.
 
double m_Y = 0
 Y coordinate.
 

Detailed Description

2D point.

Definition at line 1316 of file EKLMGeometry.h.

Constructor & Destructor Documentation

◆ Point()

Point ( )

Constructor.

Definition at line 65 of file EKLMGeometry.cc.

66{
67}

Member Function Documentation

◆ getX()

double getX ( ) const
inline

Get X coordinate.

Definition at line 1328 of file EKLMGeometry.h.

1329 {
1330 return m_X;
1331 }
double m_X
X coordinate.

◆ getY()

double getY ( ) const
inline

Get Y coordinate.

Definition at line 1345 of file EKLMGeometry.h.

1346 {
1347 return m_Y;
1348 }
double m_Y
Y coordinate.

◆ setX()

void setX ( double  x)
inline

Set X coordinate.

Parameters
[in]xX coordinate.

Definition at line 1337 of file EKLMGeometry.h.

1338 {
1339 m_X = x;
1340 }

◆ setY()

void setY ( double  y)
inline

Set Y coordinate.

Parameters
[in]yY coordinate.

Definition at line 1354 of file EKLMGeometry.h.

1355 {
1356 m_Y = y;
1357 }

Member Data Documentation

◆ m_X

double m_X = 0
private

X coordinate.

Definition at line 1362 of file EKLMGeometry.h.

◆ m_Y

double m_Y = 0
private

Y coordinate.

Definition at line 1365 of file EKLMGeometry.h.


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