Flow123d  jenkins-Flow123d-linux-release-multijob-282
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
TPoint Class Reference

#include <point.h>

Public Member Functions

 TPoint ()
 
 TPoint (double, double, double)
 
 TPoint (const TPoint &)
 
 ~TPoint ()
 
TPointoperator= (TPoint *)
 
TPointoperator+ (TPoint *)
 
bool operator== (TPoint *)
 
TPointoperator= (const TPoint &)
 
TPointoperator= (const TVector &)
 
TVector operator- (const TPoint &) const
 
TPoint operator+ (const TPoint &) const
 
bool operator== (const TPoint &) const
 
void SetCoord (double, double, double)
 
void SetCoord (const TVector &)
 
double X () const
 
double Y () const
 
double Z () const
 
double Get (int) const
 

Static Public Member Functions

static int getNumInstances ()
 

Private Member Functions

int generateId ()
 

Private Attributes

int id
 
double x
 
double y
 
double z
 

Static Private Attributes

static int numberInstance = 0
 

Friends

std::ostream & operator<< (std::ostream &, const TPoint &)
 

Detailed Description

Definition at line 10 of file point.h.

Constructor & Destructor Documentation

TPoint::TPoint ( )

Definition at line 15 of file point.cpp.

TPoint::TPoint ( double  x,
double  y,
double  z 
)

Definition at line 23 of file point.cpp.

TPoint::TPoint ( const TPoint point)

Definition at line 31 of file point.cpp.

TPoint::~TPoint ( )

Definition at line 39 of file point.cpp.

Member Function Documentation

int TPoint::generateId ( )
private

Definition at line 11 of file point.cpp.

double TPoint::Get ( int  i) const

Definition at line 103 of file point.cpp.

Here is the caller graph for this function:

static int TPoint::getNumInstances ( )
inlinestatic

Definition at line 47 of file point.h.

TPoint* TPoint::operator+ ( TPoint )
TPoint TPoint::operator+ ( const TPoint P) const

Definition at line 69 of file point.cpp.

TVector TPoint::operator- ( const TPoint P) const

Definition at line 65 of file point.cpp.

TPoint* TPoint::operator= ( TPoint )
TPoint & TPoint::operator= ( const TPoint P)

Definition at line 42 of file point.cpp.

TPoint & TPoint::operator= ( const TVector U)

Definition at line 57 of file point.cpp.

bool TPoint::operator== ( TPoint )
bool TPoint::operator== ( const TPoint P) const

Definition at line 50 of file point.cpp.

void TPoint::SetCoord ( double  x,
double  y,
double  z 
)

Definition at line 79 of file point.cpp.

Here is the caller graph for this function:

void TPoint::SetCoord ( const TVector U)

Definition at line 85 of file point.cpp.

double TPoint::X ( ) const

Definition at line 91 of file point.cpp.

Here is the caller graph for this function:

double TPoint::Y ( ) const

Definition at line 95 of file point.cpp.

Here is the caller graph for this function:

double TPoint::Z ( ) const

Definition at line 99 of file point.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const TPoint P 
)
friend

Definition at line 117 of file point.cpp.

Member Data Documentation

int TPoint::id
private

Definition at line 13 of file point.h.

int TPoint::numberInstance = 0
staticprivate

Definition at line 12 of file point.h.

double TPoint::x
private

Definition at line 15 of file point.h.

double TPoint::y
private

Definition at line 16 of file point.h.

double TPoint::z
private

Definition at line 17 of file point.h.


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