ROOT
Version master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
▼
graf2d
►
asimage
►
cocoa
►
fitsio
►
gpad
►
gpadv7
▼
graf
►
doc
▼
inc
TArc.h
TArrow.h
►
TAttImage.h
TBox.h
►
TCandle.h
TCrown.h
TCurlyArc.h
TCurlyLine.h
TCutG.h
TDiamond.h
TEllipse.h
TFrame.h
TGaxis.h
TGraphPolar.h
TGraphPolargram.h
TGraphQQ.h
TImage.h
►
TImagePlugin.h
►
TLatex.h
TLegend.h
TLegendEntry.h
TLine.h
TLink.h
TMarker.h
TMathText.h
TPave.h
TPaveLabel.h
TPaveStats.h
TPavesText.h
TPaveText.h
TPie.h
TPieSlice.h
TPoints.h
TPolyLine.h
TText.h
►
TTF.h
TWbox.h
►
src
►
gviz
►
postscript
►
quartz
►
win32gdk
►
x11
►
x11ttf
►
graf3d
►
gui
►
hist
►
io
►
main
►
master
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
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
#include "
Rtypes.h
"
17
18
19
class
TPoints
{
20
21
private
:
22
Double_t
fX
;
///< X world coordinate
23
Double_t
fY
;
///< Y world coordinate
24
25
public
:
26
TPoints
() :
fX
(0),
fY
(0) { }
27
TPoints
(
Double_t
xy
) :
fX
(
xy
),
fY
(
xy
) { }
28
TPoints
(
Double_t
x
,
Double_t
y
) :
fX
(
x
),
fY
(
y
) { }
29
virtual
~TPoints
() { }
30
Double_t
GetX
()
const
{
return
fX
; }
31
Double_t
GetY
()
const
{
return
fY
; }
32
void
SetX
(
Double_t
x
) {
fX
=
x
; }
33
void
SetY
(
Double_t
y
) {
fY
=
y
; }
34
35
ClassDef
(
TPoints
,0)
//2-D graphics point
36
};
37
38
#endif
Rtypes.h
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:342
xy
Option_t Option_t TPoint xy
Definition
TGWin32VirtualXProxy.cxx:62
TPoints
2-D graphics point (world coordinates).
Definition
TPoints.h:19
TPoints::~TPoints
virtual ~TPoints()
Definition
TPoints.h:29
TPoints::SetX
void SetX(Double_t x)
Definition
TPoints.h:32
TPoints::fY
Double_t fY
Y world coordinate.
Definition
TPoints.h:23
TPoints::GetX
Double_t GetX() const
Definition
TPoints.h:30
TPoints::SetY
void SetY(Double_t y)
Definition
TPoints.h:33
TPoints::TPoints
TPoints(Double_t x, Double_t y)
Definition
TPoints.h:28
TPoints::TPoints
TPoints()
Definition
TPoints.h:26
TPoints::GetY
Double_t GetY() const
Definition
TPoints.h:31
TPoints::fX
Double_t fX
X world coordinate.
Definition
TPoints.h:22
TPoints::TPoints
TPoints(Double_t xy)
Definition
TPoints.h:27
double
y
Double_t y[n]
Definition
legend1.C:17
x
Double_t x[n]
Definition
legend1.C:17
graf2d
graf
inc
TPoints.h
ROOT master - Reference Guide Generated on Tue Apr 8 2025 06:21:14 (GVA Time) using Doxygen 1.10.0