ATLAS Offline Software
TwoPoint.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TwoPoint_H
6 #define TwoPoint_H
7 
8 class TwoPoint {
9 public:
10  TwoPoint():m_x(0),m_y(0) {;}
11  TwoPoint(double x, double y):m_x(x),m_y(y) {;}
12  double x() {return m_x;}
13  double y() {return m_y;}
14  void x(double v) {m_x=v;}
15  void y(double v) {m_y=v;}
16 private:
17  double m_x;
18  double m_y;
19 };
20 
21 #endif
TwoPoint::TwoPoint
TwoPoint(double x, double y)
Definition: TwoPoint.h:11
TwoPoint
Definition: TwoPoint.h:8
TwoPoint::y
double y()
Definition: TwoPoint.h:13
TwoPoint::y
void y(double v)
Definition: TwoPoint.h:15
TwoPoint::m_x
double m_x
Definition: TwoPoint.h:17
TwoPoint::m_y
double m_y
Definition: TwoPoint.h:18
TwoPoint::x
void x(double v)
Definition: TwoPoint.h:14
TwoPoint::x
double x()
Definition: TwoPoint.h:12
python.PyAthena.v
v
Definition: PyAthena.py:154
TwoPoint::TwoPoint
TwoPoint()
Definition: TwoPoint.h:10