32 #include "preprocessor/cad/MapCadMember.h" 47 typedef typename MapCadMember<T>::iterator iterator;
48 typedef typename MapCadMember<T>::const_iterator const_iterator;
73 iterator i= this->begin();
74 double d2= (*i).second->DistanciaA2(p);
75 retval= (*i).second; i++;
77 for(;i!=this->end();i++)
79 tmp= (*i).second->DistanciaA2(p);
94 const T *retval=
nullptr;
97 const_iterator i= this->begin();
98 double d2= (*i).second->DistanciaA2(p);
99 retval= (*i).second; i++;
101 for(;i!=this->end();i++)
103 tmp= (*i).second->DistanciaA2(p);
119 for(iterator i= this->begin();i!=this->end();i++,idx++)
Multiblock topology object (point, line, face, block,...).
Definition: EntMdlr.h:53
MapEnt(Cad *cad=nullptr)
Constructor.
Definition: MapEnt.h:59
Container for model entities.
Definition: MapCadMember.h:42
Model geometry manager. Management of geometry entities: points, lines, surfaces, bodies...
Definition: Cad.h:69
void numera(void)
Set indices to the objects to allow its use in VTK.
Definition: MapEnt.h:116
virtual void set_indice(const size_t &i)
Assigns the objects index for its use in VTK arrays(see numera in Set).
Definition: EntMdlr.cc:76
T * getNearest(const Pos3d &p)
Returns the object closest to the position being passed as parameter.
Definition: MapEnt.h:64
================================================================================
Definition: ContinuaReprComponent.h:34
Geometric entities container (points, lines, surfaces,...).
Definition: MapEnt.h:42