Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGPosition Class Reference

Definition at line 36 of file TGDimension.h.

Public Member Functions

 TGPosition ()
 
 TGPosition (Int_t xc, Int_t yc)
 
 ~TGPosition ()=default
 
TGPosition operator+ (const TGPosition &b) const
 
TGPosition operator- (const TGPosition &b) const
 
Bool_t operator== (const TGPosition &b) const
 

Public Attributes

Int_t fX
 x position
 
Int_t fY
 y position
 

#include <TGDimension.h>

Constructor & Destructor Documentation

◆ TGPosition() [1/2]

TGPosition::TGPosition ( )
inline

Definition at line 41 of file TGDimension.h.

◆ TGPosition() [2/2]

TGPosition::TGPosition ( Int_t  xc,
Int_t  yc 
)
inline

Definition at line 42 of file TGDimension.h.

◆ ~TGPosition()

TGPosition::~TGPosition ( )
default

Member Function Documentation

◆ operator+()

TGPosition TGPosition::operator+ ( const TGPosition b) const
inline

Definition at line 49 of file TGDimension.h.

◆ operator-()

TGPosition TGPosition::operator- ( const TGPosition b) const
inline

Definition at line 47 of file TGDimension.h.

◆ operator==()

Bool_t TGPosition::operator== ( const TGPosition b) const
inline

Definition at line 45 of file TGDimension.h.

Member Data Documentation

◆ fX

Int_t TGPosition::fX

x position

Definition at line 38 of file TGDimension.h.

◆ fY

Int_t TGPosition::fY

y position

Definition at line 39 of file TGDimension.h.

Libraries for TGPosition:

The documentation for this class was generated from the following file: