xc
Public Types | Public Member Functions | List of all members
XC::EntityMap< Entity > Class Template Reference

Geometric entities container (points, lines, surfaces,...). More...

#include <EntityMap.h>

Inheritance diagram for XC::EntityMap< Entity >:
XC::ModelComponentContainer< Entity > XC::ModelComponentContainerBase

Public Types

typedef ModelComponentContainer< Entity >::iterator iterator
 
typedef ModelComponentContainer< Entity >::const_iterator const_iterator
 
- Public Types inherited from XC::ModelComponentContainer< Entity >
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
 
- Public Types inherited from XC::ModelComponentContainerBase
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.
 
- Public Member Functions inherited from XC::ModelComponentContainer< Entity >
 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.
 
- Public Member Functions inherited from XC::ModelComponentContainerBase
 ModelComponentContainerBase (MultiBlockTopology *mbt=nullptr)
 Default identifier for new component. More...
 
const MultiBlockTopologygetMultiBlockTopology (void) const
 Return a pointer to MultiBlockTopology.
 
MultiBlockTopologygetMultiBlockTopology (void)
 Return a pointer to MultiBlockTopology.
 
const PreprocessorgetPreprocessor (void) const
 Return a pointer to preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return a pointer to preprocessor.
 
size_t getTag (void) const
 
void setTag (const size_t &t)
 

Additional Inherited Members

- Protected Attributes inherited from XC::ModelComponentContainerBase
Indice tag
 

Detailed Description

template<class Entity>
class XC::EntityMap< Entity >

Geometric entities container (points, lines, surfaces,...).


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