#include <plocha.h>
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) |
Definition at line 24 of file plocha.h.
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.
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.
bool stejneXYZ | ( | const long | cb1, | |
const long | cb2 | |||
) | const [inline, private] |
void vlozSousedniPlochu | ( | Plocha * | p | ) |
Definition at line 35 of file plocha.cpp.
References p, size_sousedni, and sousedni.
Referenced by Oblast::vlozPrvek().
std::ostream& operator<< | ( | std::ostream & | os, | |
Plocha & | n | |||
) | [friend] |
long* bodyp |
Definition at line 46 of file plocha.h.
Referenced by cmp(), Comparator::mycmp(), Oblasti::normalovyVektor(), Comparator::operator()(), operator<<(), Oblasti::ulozStycneBodyAPrvky(), and ~Plocha().
long pbp |
Definition at line 44 of file plocha.h.
Referenced by cmp(), Oblasti::ctyrstenKrychle(), Comparator::mycmp(), Comparator::operator()(), operator<<(), operator==(), Oblasti::stycnaPlocha(), and Oblast::vlozPrvek().
long plocha |
Definition at line 42 of file plocha.h.
Referenced by Oblast::vlozPrvek().
long prvek |
Definition at line 40 of file plocha.h.
Referenced by Oblasti::ctyrstenKrychle(), Oblasti::hledejStycnePlochy(), Oblasti::projdiStycnouPlochu(), Oblasti::stycnaPlocha(), Oblasti::ulozStycneBodyAPrvky(), and Oblast::vlozPrvek().
short shoda [static] |
Definition at line 35 of file plocha.h.
Referenced by cmp(), and Oblasti::ulozStycneBodyAPrvky().
short size_sousedni |
Definition at line 50 of file plocha.h.
Referenced by vlozSousedniPlochu(), and ~Plocha().
Definition at line 52 of file plocha.h.
Referenced by Oblasti::ctyrstenKrychle(), Oblasti::projdiStycnouPlochu(), vlozSousedniPlochu(), and ~Plocha().
Definition at line 48 of file plocha.h.
Referenced by Oblasti::ctyrstenKrychle(), Oblasti::hledejStycnePlochy(), Oblasti::projdiStycnouPlochu(), Oblasti::stycnaPlocha(), and Oblast::vlozPrvek().
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().