Loading [MathJax]/jax/input/TeX/config.js
ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
graf2d
graf
inc
TPoints.h
Go to the documentation of this file.
1
// @(#)root/graf:$Id$
2
// Author: Rene Brun 23/02/95
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TPoints
13
#define ROOT_TPoints
14
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TPoints //
19
// //
20
// 2-D graphics point (world coordinates, i.e. floating point). //
21
// //
22
//////////////////////////////////////////////////////////////////////////
23
24
#ifndef ROOT_Rtypes
25
#include "
Rtypes.h
"
26
#endif
27
28
29
class
TPoints
{
30
31
private
:
32
Double_t
fX
;
//X world coordinate
33
Double_t
fY
;
//Y world coordinate
34
35
public
:
36
TPoints
() : fX(0), fY(0) { }
37
TPoints
(
Double_t
xy
) : fX(xy), fY(xy) { }
38
TPoints
(
Double_t
x
,
Double_t
y
) : fX(x), fY(y) { }
39
virtual
~TPoints
() { }
40
Double_t
GetX
()
const
{
return
fX
; }
41
Double_t
GetY
()
const
{
return
fY
; }
42
void
SetX
(
Double_t
x
) { fX =
x
; }
43
void
SetY
(
Double_t
y
) { fY =
y
; }
44
45
ClassDef
(
TPoints
,0)
//2-D graphics point
46
};
47
48
#endif
TPoints::SetY
void SetY(Double_t y)
Definition:
TPoints.h:43
Rtypes.h
TPoints::fX
Double_t fX
Definition:
TPoints.h:32
TPoints::GetY
Double_t GetY() const
Definition:
TPoints.h:41
x
Double_t x[n]
Definition:
legend1.C:17
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TPoints::TPoints
TPoints(Double_t x, Double_t y)
Definition:
TPoints.h:38
TPoints::~TPoints
virtual ~TPoints()
Definition:
TPoints.h:39
xy
XPoint xy[kMAXMK]
Definition:
TGX11.cxx:122
TPoints::TPoints
TPoints()
Definition:
TPoints.h:36
TPoints::TPoints
TPoints(Double_t xy)
Definition:
TPoints.h:37
TPoints
2-D graphics point (world coordinates).
Definition:
TPoints.h:29
Double_t
double Double_t
Definition:
RtypesCore.h:55
TPoints::fY
Double_t fY
Definition:
TPoints.h:33
TPoints::GetX
Double_t GetX() const
Definition:
TPoints.h:40
y
Double_t y[n]
Definition:
legend1.C:17
TPoints::SetX
void SetX(Double_t x)
Definition:
TPoints.h:42