35 #include "xc_utils/src/geom/pos_vec/Pos3d.h" 44 typedef typename dq_ptr::const_iterator const_iterator;
45 typedef typename dq_ptr::iterator iterator;
51 explicit DqPtrsNmb(
const std::deque<T *> &ts)
53 explicit DqPtrsNmb(
const std::set<const T *> &ts)
66 for(const_iterator i= this->begin();i!=this->end();i++)
67 if((*i)->GetNombre()==nmb)
return *i;
78 const_iterator i= this->begin();
79 double d2= (*i)->DistanciaA2(p);
82 for(;i!=this->end();i++)
84 tmp= (*i)->DistanciaA2(p);
99 const T *retval=
nullptr;
102 const_iterator i= this->begin();
103 double d2= (*i)->DistanciaA2(p);
106 for(;i!=this->end();i++)
108 tmp= (*i)->DistanciaA2(p);
Pointer to (nodes, elements, points, lines,...) container.
Definition: DqPtrs.h:57
T * getNearest(const Pos3d &p)
Returns the object closest to the position being passed as parameter.
Definition: DqPtrsNmb.h:73
T * BuscaNmb(const std::string &nmb)
Returns a pointer to the objeto cuyo nombre being passed as parameter.
Definition: DqPtrsNmb.h:64
================================================================================
Definition: ContinuaReprComponent.h:34
Definition: DqPtrsNmb.h:40