Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Public Attributes | List of all members
TGPosition Class Reference

Definition at line 45 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
 
Int_t fY
 

#include <TGDimension.h>

Constructor & Destructor Documentation

◆ TGPosition() [1/2]

TGPosition::TGPosition ( )
inline

Definition at line 50 of file TGDimension.h.

◆ TGPosition() [2/2]

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

Definition at line 51 of file TGDimension.h.

◆ ~TGPosition()

TGPosition::~TGPosition ( )
default

Member Function Documentation

◆ operator+()

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

Definition at line 58 of file TGDimension.h.

◆ operator-()

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

Definition at line 56 of file TGDimension.h.

◆ operator==()

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

Definition at line 54 of file TGDimension.h.

Member Data Documentation

◆ fX

Int_t TGPosition::fX

Definition at line 47 of file TGDimension.h.

◆ fY

Int_t TGPosition::fY

Definition at line 48 of file TGDimension.h.


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