Plocha Class Reference

#include <plocha.h>

List of all members.

Public Member Functions

bool operator!= (Plocha &) const
bool operator== (Plocha &) const
 Plocha (const double **xyz, long *bodyp, long plochaBodu, long prvek, long plocha)
void vlozSousedniPlochu (Plocha *p)
 ~Plocha ()

Public Attributes

long * bodyp
long pbp
long plocha
long prvek
short size_sousedni
Plocha ** sousedni
typPlochy typ
bool vyhodit

Static Public Attributes

static short shoda [4]
static double const ** xyz

Private Member Functions

bool cmp (const Plocha &p1, const Plocha &p2) const
bool stejneXYZ (const long cb1, const long cb2) const

Friends

std::ostream & operator<< (std::ostream &os, Plocha &n)

Detailed Description

Definition at line 24 of file plocha.h.


Constructor & Destructor Documentation

Plocha ( const double **  xyz,
long *  bodyp,
long  plochaBodu,
long  prvek,
long  plocha 
)

Definition at line 13 of file plocha.cpp.

References xyz.

~Plocha (  ) 

Definition at line 27 of file plocha.cpp.

References bodyp, size_sousedni, and sousedni.


Member Function Documentation

bool cmp ( const Plocha p1,
const Plocha p2 
) const [private]

Definition at line 71 of file plocha.cpp.

References bodyp, FOR, h(), KR_PLOCHA_BODU, pbp, shoda, and stejneXYZ().

Referenced by operator==().

bool operator!= ( Plocha p  )  const

Definition at line 64 of file plocha.cpp.

bool operator== ( Plocha p  )  const

Definition at line 55 of file plocha.cpp.

References cmp(), and pbp.

bool stejneXYZ ( const long  cb1,
const long  cb2 
) const [inline, private]

Definition at line 95 of file plocha.cpp.

References xyz.

Referenced by cmp().

void vlozSousedniPlochu ( Plocha p  ) 

Definition at line 35 of file plocha.cpp.

References p, size_sousedni, and sousedni.

Referenced by Oblast::vlozPrvek().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
Plocha n 
) [friend]

Member Data Documentation

long* bodyp
long pbp
long plocha

Definition at line 42 of file plocha.h.

Referenced by Oblast::vlozPrvek().

long prvek
short shoda [static]

Definition at line 35 of file plocha.h.

Referenced by cmp(), and Oblasti::ulozStycneBodyAPrvky().

Definition at line 50 of file plocha.h.

Referenced by vlozSousedniPlochu(), and ~Plocha().

bool vyhodit

Definition at line 54 of file plocha.h.

Referenced by Oblast::vlozPrvek().

double const ** xyz [static]

Definition at line 38 of file plocha.h.

Referenced by Plocha(), and stejneXYZ().


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

Generated by  doxygen 1.6.2