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

Container for preprocessor entities (points, lines, surfaces,...) More...

#include <DqPtrsEntities.h>

Inheritance diagram for XC::DqPtrsEntities< T >:
XC::DqPtrs< T >

Public Types

typedef DqPtrs< T > dq_ptr
 
typedef dq_ptr::const_iterator const_iterator
 
typedef dq_ptr::iterator iterator
 
- Public Types inherited from XC::DqPtrs< T >
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)
 
DqPtrsEntitiesoperator-= (const DqPtrsEntities &)
 -= (difference) operator.
 
DqPtrsEntitiesoperator*= (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.
 
- Public Member Functions inherited from XC::DqPtrs< T >
 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.
 
DqPtrsoperator= (const DqPtrs &)
 Assignment operator.
 
DqPtrsoperator+= (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 IDgetTags (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 IDreceiveTags (int posSz, int pDbTg, DbTagData &dt, const CommParameters &cp)
 Sends the dbTags of the sets through the channel being passed as parameter.
 

Detailed Description

template<class T>
class XC::DqPtrsEntities< T >

Container for preprocessor entities (points, lines, surfaces,...)

Member Function Documentation

§ pickEntitiesInside()

template<class T >
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.

Parameters
geomObjgeometric object that must contain the nodes.
toltolerance for "In" function.

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