// @(#)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
 TPoints.h:1
 TPoints.h:2
 TPoints.h:3
 TPoints.h:4
 TPoints.h:5
 TPoints.h:6
 TPoints.h:7
 TPoints.h:8
 TPoints.h:9
 TPoints.h:10
 TPoints.h:11
 TPoints.h:12
 TPoints.h:13
 TPoints.h:14
 TPoints.h:15
 TPoints.h:16
 TPoints.h:17
 TPoints.h:18
 TPoints.h:19
 TPoints.h:20
 TPoints.h:21
 TPoints.h:22
 TPoints.h:23
 TPoints.h:24
 TPoints.h:25
 TPoints.h:26
 TPoints.h:27
 TPoints.h:28
 TPoints.h:29
 TPoints.h:30
 TPoints.h:31
 TPoints.h:32
 TPoints.h:33
 TPoints.h:34
 TPoints.h:35
 TPoints.h:36
 TPoints.h:37
 TPoints.h:38
 TPoints.h:39
 TPoints.h:40
 TPoints.h:41
 TPoints.h:42
 TPoints.h:43
 TPoints.h:44
 TPoints.h:45
 TPoints.h:46
 TPoints.h:47
 TPoints.h:48