xc
|
Geometric entities container (points, lines, surfaces,...). More...
#include <EntityMap.h>
Public Types | |
typedef ModelComponentContainer< Entity >::iterator | iterator |
typedef ModelComponentContainer< Entity >::const_iterator | const_iterator |
![]() | |
typedef std::map< Indice, Entity *> | map_base |
typedef std::pair< Indice, Entity *> | pair |
typedef map_base::iterator | iterator |
typedef map_base::const_iterator | const_iterator |
![]() | |
typedef size_t | Indice |
Public Member Functions | |
EntityMap (MultiBlockTopology *mbt=nullptr) | |
Constructor. | |
Entity * | getNearest (const Pos3d &p) |
Returns the object closest to the position being passed as parameter. | |
const Entity * | getNearest (const Pos3d &p) const |
Returns the object closest to the position being passed as parameter. | |
void | numera (void) |
Set indices to the objects to allow its use in VTK. | |
![]() | |
ModelComponentContainer (MultiBlockTopology *mbt=nullptr) | |
Constructor. | |
Entity * | busca (const Indice &) |
Return a pointer to the geometry entity whose identifier is passed as parameter. | |
const Entity * | busca (const Indice &) const |
Return a pointer to the entity whose identifier is passed as parameter. | |
bool | exists (const Indice &) const |
Return true if the entity already exists. | |
Entity * | get (const Indice &) |
Return the entity with tag iEnt. | |
boost::python::list | getKeys (void) const |
Return the container's keys. | |
void | clearAll (void) |
Erase all the entities. | |
virtual | ~ModelComponentContainer (void) |
Destructor. | |
![]() | |
ModelComponentContainerBase (MultiBlockTopology *mbt=nullptr) | |
Default identifier for new component. More... | |
const MultiBlockTopology * | getMultiBlockTopology (void) const |
Return a pointer to MultiBlockTopology. | |
MultiBlockTopology * | getMultiBlockTopology (void) |
Return a pointer to MultiBlockTopology. | |
const Preprocessor * | getPreprocessor (void) const |
Return a pointer to preprocessor. | |
Preprocessor * | getPreprocessor (void) |
Return a pointer to preprocessor. | |
size_t | getTag (void) const |
void | setTag (const size_t &t) |
Additional Inherited Members | |
![]() | |
Indice | tag |
Geometric entities container (points, lines, surfaces,...).