XC Open source finite element analysis program
|
Matriz de pointers to puntos. More...
#include <MatrizPtrPnt.h>
Public Member Functions | |
MatrizPtrPnt (const size_t &f=0, const size_t &c=0) | |
Constructor. | |
m_int | getTags (void) const |
Returns a matriz con los identificadores de los puntos. | |
const Cad * | getCad (void) const |
Returns a pointer to objeto Cad. | |
Cad * | getCad (void) |
Returns a pointer to objeto Cad. | |
void | setPnt (const size_t &, const size_t &, const int &) |
Pnt * | getPnt (const size_t &, const size_t &) |
Pnt * | buscaPunto (const size_t &) |
Returns (if it exists) a pointer to punto cuyo tag is being passed as parameter. | |
const Pnt * | buscaPunto (const size_t &) const |
Returns (if it exists) a pointer to punto cuyo tag is being passed as parameter. | |
Pnt * | getNearestPnt (const Pos3d &p) |
Returns the point closest to the point being passed as parameter. | |
const Pnt * | getNearestPnt (const Pos3d &p) const |
Returns the ppoint closest to the point being passed as parameter. | |
std::deque< size_t > | CopiaPuntos (const RangoMatriz &, const std::vector< size_t > &, const Vector3d &) |
Copy the points from the range being passed as parameter, and places the at the positions of the matrix that result form adding to the (i,j) indexes of the point the values of the offsetIndices vector; i.e.: (i,j)->(i+offsetIndices[0],j+offsetIndices[1]) and moving the by the vectorOffset vector. | |
Pos3d | getCentroide (void) const |
Returns the centroide del esquema. | |
Public Member Functions inherited from XC::MatrizPtrBase< Pnt > | |
bool | Null (void) const |
Returns true if it's empty or the pointers are NULL. | |
bool | HasNull (void) const |
Returns true if it's empty or any of the pointers are NULL. | |
void | dim (const size_t &, const size_t &) |
Matrix dimensions. | |
std::vector< int > | getTagsObjsFila (const size_t &) |
Asks each of the objects in the row to execute the code being passed as parameter. | |
std::vector< int > | getTagsObjsColumna (const size_t &) |
Asks each of the objects in the column to execute the code being passed as parameter. | |
std::vector< int > | getTagsObjsInterioresFila (const size_t &) |
Asks each of the objects at the interior of the row to execute the code being passed as parameter. | |
std::vector< int > | getTagsObjsInterioresColumna (const size_t &) |
Asks each of the objects at the interior of the column to execute the code being passed as parameter. | |
std::vector< int > | getTagsInteriorObjs (void) |
Asks each of the objects at the interior to execute the code being passed as parameter. | |
std::vector< int > | getTagsObjs (void) |
Friends | |
class | Cad |
Additional Inherited Members | |
Public Types inherited from XC::MatrizPtrBase< Pnt > | |
typedef MatrizT< Pnt *, std::vector< Pnt * > > | m_ptr |
typedef m_ptr::iterator | iterator |
typedef m_ptr::const_iterator | const_iterator |
typedef m_ptr::value_type | value_type |
typedef m_ptr::reference | reference |
typedef m_ptr::const_reference | const_reference |
Protected Member Functions inherited from XC::MatrizPtrBase< Pnt > | |
MatrizPtrBase (const size_t &f=0, const size_t &c=0) | |
Constructor. | |
Matriz de pointers to puntos.