xc
|
Container for preprocessor entities (points, lines, surfaces,...) More...
#include <DqPtrsEntities.h>
Public Types | |
typedef DqPtrs< T > | dq_ptr |
typedef dq_ptr::const_iterator | const_iterator |
typedef dq_ptr::iterator | iterator |
![]() | |
typedef std::deque< T * > | lst_ptr |
typedef lst_ptr::const_iterator | const_iterator |
typedef lst_ptr::iterator | iterator |
typedef lst_ptr::reference | reference |
typedef lst_ptr::const_reference | const_reference |
typedef lst_ptr::size_type | size_type |
typedef boost::indirect_iterator< iterator > | indIterator |
Public Member Functions | |
DqPtrsEntities (CommandEntity *owr=nullptr) | |
DqPtrsEntities (const DqPtrs< T > &other) | |
DqPtrsEntities (const std::deque< T *> &ts) | |
DqPtrsEntities (const std::set< const T *> &ts) | |
DqPtrsEntities & | operator-= (const DqPtrsEntities &) |
-= (difference) operator. | |
DqPtrsEntities & | operator*= (const DqPtrsEntities &) |
*= (intersection) operator. | |
void | remove (const DqPtrsEntities< T > &other) |
Removes the objects that belongs also to the parameter. | |
void | intersect (const DqPtrsEntities< T > &other) |
Removes the objects that belongs also to the parameter. | |
T * | searchName (const std::string &nmb) |
Returns a pointer to the objet identified by the name. | |
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. | |
DqPtrsEntities< T > | pickEntitiesInside (const GeomObj3d &, const double &tol=0.0) const |
Return a container with the entities that lie inside the geometric object. More... | |
BND3d | Bnd (void) const |
Return the entities boundary. | |
![]() | |
DqPtrs (CommandEntity *owr=nullptr) | |
Constructor. | |
DqPtrs (const DqPtrs &) | |
Copy constructor. | |
DqPtrs (const std::deque< T *> &ts) | |
Copy from deque container. | |
DqPtrs (const std::set< const T *> &ts) | |
Copy from set container. | |
DqPtrs & | operator= (const DqPtrs &) |
Assignment operator. | |
DqPtrs & | operator+= (const DqPtrs &) |
+= (union) operator. | |
void | extend (const DqPtrs &) |
Extend this container with the pointers from the container being passed as parameter. More... | |
bool | push_back (T *) |
bool | push_front (T *) |
bool | empty (void) const |
iterator | begin (void) |
const_iterator | begin (void) const |
iterator | end (void) |
const_iterator | end (void) const |
indIterator | indBegin (void) |
indIterator | indEnd (void) |
const T & | get (const size_t &i) const |
Access specified node with bounds checking. | |
void | clear (void) |
Clears out the list of pointers. | |
void | clearAll (void) |
Clears out the list of pointers and erases the properties of the object (if any). | |
size_type | size (void) const |
bool | in (const T *) const |
Returns true if the pointer is in the container. | |
const ID & | getTags (void) const |
Returns the tags of the objects. | |
template<class InputIterator > | |
void | insert (iterator pos, InputIterator f, InputIterator l) |
int | sendTags (int posSz, int posDbTag, DbTagData &dt, CommParameters &cp) |
Sends the dbTags of the sets trough the channel being passed as parameter. | |
const ID & | receiveTags (int posSz, int pDbTg, DbTagData &dt, const CommParameters &cp) |
Sends the dbTags of the sets through the channel being passed as parameter. | |
Container for preprocessor entities (points, lines, surfaces,...)
DqPtrsEntities< T > XC::DqPtrsEntities< T >::pickEntitiesInside | ( | const GeomObj3d & | geomObj, |
const double & | tol = 0.0 |
||
) | const |
Return a container with the entities that lie inside the geometric object.
geomObj | geometric object that must contain the nodes. |
tol | tolerance for "In" function. |