/usr/include/root/TPoints.h is in libroot-graf2d-graf-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | // @(#)root/graf:$Id$
// Author: Rene Brun 23/02/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TPoints
#define ROOT_TPoints
//////////////////////////////////////////////////////////////////////////
// //
// TPoints //
// //
// 2-D graphics point (world coordinates, i.e. floating point). //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
class TPoints {
private:
Double_t fX; //X world coordinate
Double_t fY; //Y world coordinate
public:
TPoints() : fX(0), fY(0) { }
TPoints(Double_t xy) : fX(xy), fY(xy) { }
TPoints(Double_t x, Double_t y) : fX(x), fY(y) { }
virtual ~TPoints() { }
Double_t GetX() const { return fX; }
Double_t GetY() const { return fY; }
void SetX(Double_t x) { fX = x; }
void SetY(Double_t y) { fY = y; }
ClassDef(TPoints,0) //2-D graphics point
};
#endif
|