Jafar
|
This class is intended to store the facets. More...
This class is intended to store the facets.
Definition at line 14 of file facetscontainer.hpp.
#include <facetscontainer.hpp>
Public Member Functions | |
id2Facet_cit | begin () const |
id2Facet_cit | end () const |
vFacets | closestTo (Facet *f) |
This function will return a list of facet whose texture is closed to the one given in argument. | |
Facet * | operator[] (uint i) |
Facet * | get (unsigned int id) |
unsigned int | nbfacets () const |
bool | isMember (uint id) |
lUints | keysList () |
void | dump () |
Protected Member Functions | |
uint | nextId () |
void | insertFacet (uint id, Facet *f, bool lookneigh=false) |
This function insert a facet, and look for its neighborhood. | |
Protected Attributes | |
uint | m_nexid |
id2Facet | m_facets |
Friends | |
std::ostream & | operator<< (std::ostream &, const FacetsContainer &) |
implement operator << |
id2Facet_cit jafar::facetsmap::FacetsContainer::begin | ( | ) | const [inline] |
Definition at line 21 of file facetscontainer.hpp.
id2Facet_cit jafar::facetsmap::FacetsContainer::end | ( | ) | const [inline] |
Definition at line 25 of file facetscontainer.hpp.
Facet* jafar::facetsmap::FacetsContainer::get | ( | unsigned int | id | ) | [inline] |
Definition at line 39 of file facetscontainer.hpp.
void jafar::facetsmap::FacetsContainer::insertFacet | ( | uint | id, |
Facet * | f, | ||
bool | lookneigh = false |
||
) | [protected] |
This function insert a facet, and look for its neighborhood.
id | the identifiant of the facet (should be equal to f->id()) |
f | a pointer to the facet |
lookneigh | tells the function if we need to look for the facets which might be close to the facet we are adding |
Reimplemented in jafar::facetsmap::FacetsAnalyser.
bool jafar::facetsmap::FacetsContainer::isMember | ( | uint | id | ) | [inline] |
Definition at line 51 of file facetscontainer.hpp.
lUints jafar::facetsmap::FacetsContainer::keysList | ( | ) |
unsigned int jafar::facetsmap::FacetsContainer::nbfacets | ( | ) | const [inline] |
Definition at line 47 of file facetscontainer.hpp.
uint jafar::facetsmap::FacetsContainer::nextId | ( | ) | [inline, protected] |
Definition at line 60 of file facetscontainer.hpp.
Facet* jafar::facetsmap::FacetsContainer::operator[] | ( | uint | i | ) | [inline] |
Definition at line 35 of file facetscontainer.hpp.
Generated on Wed Oct 15 2014 00:37:35 for Jafar by doxygen 1.7.6.1 |