#include <oblasti.h>
Public Member Functions | |
void | hledejStycnePlochy () |
Oblasti (SpolecnaData &sd) | |
void | vyhledejOblasti () |
~Oblasti () | |
Public Attributes | |
vector< vector< long > > | adjels |
vector< set< MyPair, Less > > | nlists |
deque< deque< double * > > | nvectors |
Private Member Functions | |
void | ctyrstenKrychle (Plocha *triangle, Plocha *rect) |
bool | najdiFreshStart (long *topStack, short *stav, const short &FRESH, const short &OPEN) |
void | normalovyVektor (Plocha *p) |
void | projdiStycnouPlochu (Plocha *ps1, Plocha *ps2) |
void | routeAdd (Plocha *p1, Plocha *p2) |
bool | stycnaPlocha (Plocha *soused1, Plocha *soused2) |
void | ulozStycneBodyAPrvky (Plocha *sp1, Plocha *sp2) |
Private Attributes | |
vector< Oblast * > | oblasti |
short * | poplpr |
deque< Plocha * > | route |
SpolecnaData & | sd |
Plocha *** | seplpr |
short * | znamePlochy |
Definition at line 13 of file oblasti.h.
Oblasti | ( | SpolecnaData & | sd | ) |
Definition at line 22 of file oblasti.cpp.
References CT_POCET_PLOCH, KR_BODU, KR_POCET_PLOCH, SpolecnaData::ne, SpolecnaData::nnod, SpolecnaData::poleShort(), poplpr, seplpr, and znamePlochy.
~Oblasti | ( | ) |
Definition at line 39 of file oblasti.cpp.
References SpolecnaData::ne, oblasti, poplpr, sd, seplpr, and znamePlochy.
Definition at line 261 of file oblasti.cpp.
References CLOSE, FOR, NEVI_SE, Plocha::pbp, poplpr, Plocha::prvek, routeAdd(), seplpr, Plocha::sousedni, STYCNA, Plocha::typ, VNITRNI, and znamePlochy.
Referenced by stycnaPlocha().
void hledejStycnePlochy | ( | ) |
Definition at line 141 of file oblasti.cpp.
References adjels, FOR, NEVI_SE, nlists, nvectors, oblasti, projdiStycnouPlochu(), Plocha::prvek, STYCNA, Plocha::typ, VNEJSI, and znamePlochy.
Referenced by SurfFind::setgsurface().
bool najdiFreshStart | ( | long * | topStack, | |
short * | stav, | |||
const short & | FRESH, | |||
const short & | OPEN | |||
) | [private] |
Definition at line 125 of file oblasti.cpp.
References SpolecnaData::ne, and sd.
Referenced by vyhledejOblasti().
void normalovyVektor | ( | Plocha * | p | ) | [private] |
Definition at line 315 of file oblasti.cpp.
References Plocha::bodyp, FOR, nvectors, sd, and SpolecnaData::xyz.
Referenced by routeAdd().
Definition at line 184 of file oblasti.cpp.
References CLOSE, FOR, poplpr, Plocha::prvek, route, routeAdd(), seplpr, Plocha::sousedni, stycnaPlocha(), Plocha::typ, VNITRNI, and znamePlochy.
Referenced by hledejStycnePlochy().
Definition at line 306 of file oblasti.cpp.
References normalovyVektor(), route, and ulozStycneBodyAPrvky().
Referenced by ctyrstenKrychle(), projdiStycnouPlochu(), and stycnaPlocha().
Definition at line 237 of file oblasti.cpp.
References ctyrstenKrychle(), FOR, NEVI_SE, Plocha::pbp, poplpr, Plocha::prvek, routeAdd(), seplpr, STYCNA, and Plocha::typ.
Referenced by projdiStycnouPlochu().
Definition at line 288 of file oblasti.cpp.
References adjels, Plocha::bodyp, KR_PLOCHA_BODU, nlists, MyPair::node1, MyPair::node2, Plocha::prvek, and Plocha::shoda.
Referenced by routeAdd().
void vyhledejOblasti | ( | ) |
Definition at line 74 of file oblasti.cpp.
References SpolecnaData::adjelel, CLOSE, SpolecnaData::nadjelel, najdiFreshStart(), SpolecnaData::ne, oblasti, SpolecnaData::poleShort(), poplpr, sd, seplpr, and znamePlochy.
Referenced by SurfFind::setgsurface().
Definition at line 66 of file oblasti.h.
Referenced by hledejStycnePlochy(), SurfFind::setgsurface(), and ulozStycneBodyAPrvky().
Definition at line 63 of file oblasti.h.
Referenced by hledejStycnePlochy(), SurfFind::setgsurface(), and ulozStycneBodyAPrvky().
deque< deque<double *> > nvectors |
Definition at line 69 of file oblasti.h.
Referenced by hledejStycnePlochy(), normalovyVektor(), and SurfFind::setgsurface().
Definition at line 34 of file oblasti.h.
Referenced by hledejStycnePlochy(), vyhledejOblasti(), and ~Oblasti().
short* poplpr [private] |
Definition at line 37 of file oblasti.h.
Referenced by ctyrstenKrychle(), Oblasti(), projdiStycnouPlochu(), stycnaPlocha(), vyhledejOblasti(), and ~Oblasti().
Definition at line 45 of file oblasti.h.
Referenced by projdiStycnouPlochu(), and routeAdd().
SpolecnaData& sd [private] |
Definition at line 42 of file oblasti.h.
Referenced by najdiFreshStart(), normalovyVektor(), vyhledejOblasti(), and ~Oblasti().
Definition at line 40 of file oblasti.h.
Referenced by ctyrstenKrychle(), Oblasti(), projdiStycnouPlochu(), stycnaPlocha(), vyhledejOblasti(), and ~Oblasti().
short* znamePlochy [private] |
Definition at line 48 of file oblasti.h.
Referenced by ctyrstenKrychle(), hledejStycnePlochy(), Oblasti(), projdiStycnouPlochu(), vyhledejOblasti(), and ~Oblasti().