XC Open source finite element analysis program
|
Geometric entities container (points, lines, surfaces,...). More...
#include <MapEnt.h>
Public Types | |
typedef MapCadMember< T >::iterator | iterator |
typedef MapCadMember< T >::const_iterator | const_iterator |
Public Types inherited from XC::MapCadMember< T > | |
typedef std::map< Indice, T * > | map_base |
typedef std::pair< Indice, T * > | pair |
typedef map_base::iterator | iterator |
typedef map_base::const_iterator | const_iterator |
Public Types inherited from XC::MapCadMemberBase | |
typedef size_t | Indice |
Public Member Functions | |
MapEnt (Cad *cad=nullptr) | |
Constructor. | |
T * | getNearest (const Pos3d &p) |
Returns the object closest to the position being passed as parameter. | |
const T * | 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::MapCadMember< T > | |
MapCadMember (Cad *cad=nullptr) | |
Constructor. | |
T * | busca (const Indice &) |
Return a pointer to the geometry entity whose identifier is passed as parameter. | |
const T * | busca (const Indice &) const |
Return a pointer to the entity whose identifier is passed as parameter. | |
bool | existe (const Indice &) const |
Return true if the entity already exists. | |
T * | 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 | ~MapCadMember (void) |
Destructor. | |
Public Member Functions inherited from XC::MapCadMemberBase | |
MapCadMemberBase (Cad *cad=nullptr) | |
Default identifier for new point. More... | |
const Cad * | getCad (void) const |
Return a pointer to Cad. | |
Cad * | getCad (void) |
Return a pointer to Cad. | |
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 | |
Protected Attributes inherited from XC::MapCadMemberBase | |
Indice | tag |
Geometric entities container (points, lines, surfaces,...).