Logo ROOT  
Reference Guide
TPoint Class Reference

Definition at line 31 of file TPoint.h.

Public Member Functions

 TPoint ()
 
 TPoint (SCoord_t x, SCoord_t y)
 
 TPoint (SCoord_t xy)
 
SCoord_t GetX () const
 
SCoord_t GetY () const
 
void SetX (SCoord_t x)
 
void SetY (SCoord_t y)
 

Public Attributes

SCoord_t fX
 
SCoord_t fY
 

Friends

bool operator!= (const TPoint &p1, const TPoint &p2)
 
bool operator== (const TPoint &p1, const TPoint &p2)
 

#include <TPoint.h>

Constructor & Destructor Documentation

◆ TPoint() [1/3]

TPoint::TPoint ( )
inline

Definition at line 43 of file TPoint.h.

◆ TPoint() [2/3]

TPoint::TPoint ( SCoord_t  xy)
inline

Definition at line 44 of file TPoint.h.

◆ TPoint() [3/3]

TPoint::TPoint ( SCoord_t  x,
SCoord_t  y 
)
inline

Definition at line 45 of file TPoint.h.

Member Function Documentation

◆ GetX()

SCoord_t TPoint::GetX ( ) const
inline

Definition at line 46 of file TPoint.h.

◆ GetY()

SCoord_t TPoint::GetY ( ) const
inline

Definition at line 47 of file TPoint.h.

◆ SetX()

void TPoint::SetX ( SCoord_t  x)
inline

Definition at line 48 of file TPoint.h.

◆ SetY()

void TPoint::SetY ( SCoord_t  y)
inline

Definition at line 49 of file TPoint.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const TPoint p1,
const TPoint p2 
)
friend

Definition at line 60 of file TPoint.h.

◆ operator==

bool operator== ( const TPoint p1,
const TPoint p2 
)
friend

Definition at line 55 of file TPoint.h.

Member Data Documentation

◆ fX

SCoord_t TPoint::fX

Definition at line 35 of file TPoint.h.

◆ fY

SCoord_t TPoint::fY

Definition at line 36 of file TPoint.h.


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