ATLAS Offline Software
Loading...
Searching...
No Matches
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
8class TwoPoint {
9public:
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;}
16private:
17 double m_x;
18 double m_y;
19};
20
21#endif
TwoPoint()
Definition TwoPoint.h:10
void x(double v)
Definition TwoPoint.h:14
TwoPoint(double x, double y)
Definition TwoPoint.h:11
double m_x
Definition TwoPoint.h:17
double x()
Definition TwoPoint.h:12
double m_y
Definition TwoPoint.h:18
double y()
Definition TwoPoint.h:13
void y(double v)
Definition TwoPoint.h:15