Logo ROOT   6.07/09
Reference Guide
List of all members | Public Member Functions | Public Attributes | Friends | List of all members
TPoint Class Reference

Definition at line 33 of file TPoint.h.

Public Member Functions

 TPoint ()
 
 TPoint (SCoord_t xy)
 
 TPoint (SCoord_t x, SCoord_t y)
 
 ~TPoint ()
 
SCoord_t GetX () const
 
SCoord_t GetY () const
 
TPointoperator= (const TPoint &p)
 
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::TPoint ( )
inline

Definition at line 45 of file TPoint.h.

TPoint::TPoint ( SCoord_t  xy)
inline

Definition at line 46 of file TPoint.h.

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

Definition at line 47 of file TPoint.h.

TPoint::~TPoint ( )
inline

Definition at line 48 of file TPoint.h.

Member Function Documentation

SCoord_t TPoint::GetX ( ) const
inline

Definition at line 49 of file TPoint.h.

SCoord_t TPoint::GetY ( ) const
inline

Definition at line 50 of file TPoint.h.

TPoint& TPoint::operator= ( const TPoint p)
inline

Definition at line 54 of file TPoint.h.

void TPoint::SetX ( SCoord_t  x)
inline

Definition at line 51 of file TPoint.h.

void TPoint::SetY ( SCoord_t  y)
inline

Definition at line 52 of file TPoint.h.

Friends And Related Function Documentation

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

Definition at line 64 of file TPoint.h.

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

Definition at line 59 of file TPoint.h.

Member Data Documentation

SCoord_t TPoint::fX

Definition at line 37 of file TPoint.h.

SCoord_t TPoint::fY

Definition at line 38 of file TPoint.h.


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