|
xc
|
Pointers to points in a matrix structure. More...
#include <PntPtrArray.h>


Public Member Functions | |
| PntPtrArray (const size_t &f=0, const size_t &c=0, const value_type &def_value=nullptr) | |
| Constructor. | |
| m_int | getTags (void) const |
| Returns an array with the point identifiers. | |
| const MultiBlockTopology * | getMultiBlockTopology (void) const |
| Returns a pointer to the MultiBlockTopology object. | |
| MultiBlockTopology * | getMultiBlockTopology (void) |
| Returns a pointer to the MultiBlockTopology object. | |
| void | setPnt (const size_t &, const size_t &, const int &) |
| Pnt * | getPnt (const size_t &, const size_t &) |
| std::deque< Pnt * > | getLoop (const std::vector< size_t > &rowIndexes, const std::vector< size_t > &columnIndexes) const |
| Return a loop passing through the contour defined by the indexes. More... | |
| Pnt * | findPoint (const size_t &) |
| Returns (if it exists) a pointer to point identified by the tag is being passed as parameter. More... | |
| const Pnt * | findPoint (const size_t &) const |
| Returns (if it exists) a pointer to the point identified by the tag passed as parameter. More... | |
| Pnt * | getNearestPnt (const Pos3d &p) |
| Return the point closest to the point being passed as parameter. | |
| const Pnt * | getNearestPnt (const Pos3d &p) const |
| Return the ppoint closest to the point being passed as parameter. | |
| std::deque< size_t > | copyPoints (const MatrixRange &, 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. More... | |
| Pos3d | getCentroid (void) const |
| Return the framework centroid. | |
Public Member Functions inherited from XC::PtrArrayBase< Pnt > | |
| virtual bool | operator== (const PtrArrayBase< Pnt > &) const |
| Comparison operator. | |
| 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 > | getRowObjectsTags (const size_t &) |
| Asks each of the objects in the row to execute the code being passed as parameter. More... | |
| std::vector< int > | getColumnObjectsTags (const size_t &) |
| Asks each of the objects in the column to execute the code being passed as parameter. More... | |
| std::vector< int > | getRowInteriorObjectsTags (const size_t &) |
| Asks each of the objects at the interior of the row to execute the code being passed as parameter. More... | |
| std::vector< int > | getColumnInteriorObjectsTags (const size_t &) |
| Asks each of the objects at the interior of the column to execute the code being passed as parameter. More... | |
| std::vector< int > | getTagsInteriorObjs (void) |
| Asks each of the objects at the interior to execute the code being passed as parameter. More... | |
| std::vector< int > | getTagsObjs (void) |
Public Member Functions inherited from TMatrix< Pnt *, std::vector< Pnt *> > | |
| TMatrix (size_t rows=1, size_t n_columns=1) | |
| Constructor por defecto. | |
| TMatrix (size_t n_rows, size_t n_columns, Pnt * val) | |
| Constructor. | |
| TMatrix (const size_t &n_rows, const size_t &n_columns, InputIterator b, InputIterator e) | |
| Constructor con lista inicialización. | |
| TMatrix (const TMatrix< Pnt *, std::vector< Pnt * > > &) | |
| Constructor de copia. | |
| TMatrix< Pnt *, std::vector< Pnt * > > & | operator= (const TMatrix< Pnt *, std::vector< Pnt * > > &m) |
| Assignment operator. | |
| TMatrix< Pnt *, std::vector< Pnt * > > & | operator= (const Pnt * &n) |
| virtual bool | operator== (const TMatrix< Pnt *, std::vector< Pnt * > > &) const |
| Comparison operator. | |
| void | resize (size_t n_rows, size_t n_columns, Pnt * val) |
| Assignment operator. | |
| size_t | size (void) const |
| const std::vector< Pnt * > & | getVector (void) const |
| const_reference | front () const |
| reference | front () |
| const_reference | back () const |
| reference | back () |
| const_iterator | begin () const |
| iterator | begin () |
| const_iterator | end () const |
| iterator | end () |
| TMatrix< Pnt *, std::vector< Pnt * > > & | Con (const Pnt * &t) |
| virtual reference | operator() (size_t iRow=1, size_t col=1) |
| virtual const_reference | operator() (size_t iRow=1, size_t col=1) const |
| virtual reference | at (size_t iRow=1, size_t col=1) |
| virtual const_reference | at (size_t iRow=1, size_t col=1) const |
| void | assign (size_t row, size_t col, const Pnt * &value) |
| Put the box int the position (f,c) of this matrix. | |
| void | swap (size_t f1, size_t c1, size_t f2, size_t c2) |
| TMatrix< Pnt *, std::vector< Pnt * > > & | Trn (void) |
| TMatrix< Pnt *, std::vector< Pnt * > > | GetTrn (void) const |
| TMatrix< Pnt *, std::vector< Pnt * > > | getBox (size_t f1, size_t c1, size_t f2, size_t c2) const |
| box_const_ref | GetBoxConstRef (size_t f1, size_t c1, size_t f2, size_t c2) const |
| box_const_ref | GetBoxConstRef (const RangoIndice &row_range, const RangoIndice &column_range) const |
| box_const_ref | GetBoxConstRef (size_t f=1, size_t c=1) const |
| TMatrix< Pnt *, std::vector< Pnt * > > | getRow (size_t iRow) const |
| row_const_ref | getRowConstRef (size_t f, size_t c1, size_t c2) const |
| row_const_ref | getRowConstRef (size_t f, const RangoIndice &column_range) const |
| row_const_ref | getRowConstRef (size_t f=1, size_t c=1) const |
| const_ref_col | getColumnConstRef (size_t c, size_t f1, size_t f2) const |
| const_ref_col | getColumnConstRef (const RangoIndice &row_range, size_t c) const |
| const_ref_col | getColumnConstRef (size_t c=1, size_t f=1) const |
| TMatrix< Pnt *, std::vector< Pnt * > > | getColumn (size_t col) const |
| TMatrix< Pnt *, std::vector< Pnt * > > | GetMenor (size_t f, size_t c) const |
| Return the minor of the matrix that corresponds to the row and the column arguments. More... | |
| void | putBox (size_t f, size_t c, const TMatrix< Pnt *, std::vector< Pnt * > > &) |
| Put the box int the position (f,c) of this matrix. | |
| void | putRow (size_t iRow, const TMatrix< Pnt *, std::vector< Pnt * > > &f) |
| void | PutCol (size_t col, const TMatrix< Pnt *, std::vector< Pnt * > > &c) |
| void | OrlaCol (const TMatrix< Pnt *, std::vector< Pnt * > > &c) |
| void | decorateRow (const TMatrix< Pnt *, std::vector< Pnt * > > &f) |
| void | swapRows (size_t f1, size_t f2) |
| void | swapColumns (size_t c1, size_t c2) |
| virtual void | Print (std::ostream &) const |
| virtual void | Input (std::istream &) |
| Lectura desde istream. | |
| virtual void | Input (const std::string &) |
| Lectura desde string. | |
Public Member Functions inherited from ProtoMatrix | |
| ProtoMatrix (size_t n_rows=1, size_t n_columns=1) | |
| ProtoMatrix (const ProtoMatrix &other) | |
| ProtoMatrix & | operator= (const ProtoMatrix &m) |
| virtual bool | operator== (const ProtoMatrix &other) const |
| virtual void | resize (size_t n_rows, size_t n_columns) |
| virtual size_t | Tam (void) |
| size_t | getNumberOfRows (void) const |
| size_t | getNumberOfColumns (void) const |
| bool | CheckIndices (const size_t &f, const size_t &c) const |
| bool | interior (const size_t &i, const size_t &j) const |
| Return true if the indices correspond to a component. | |
| int | Cuadrada (void) const |
| bool | isRow (void) const |
| bool | isColumn (void) const |
Public Member Functions inherited from CommandEntity | |
| CommandEntity (CommandEntity *owr=nullptr) | |
| Default constructor. | |
| CommandEntity * | Owner (void) |
| Return a pointer to the object owner. | |
| const CommandEntity * | Owner (void) const |
| Return un puntero al objeto propietario de ESTE. | |
| const StandardOutputWrapper & | getStandardOutputWrapper (void) const |
| Return the regular output stream wrapper. | |
| StandardOutputWrapper & | getStandardOutputWrapper (void) |
| Return the regular output stream wrapper. | |
| const std::string & | getLogFileName (void) const |
| Returns log file name. | |
| void | setLogFileName (const std::string &) |
| Sets log file name. | |
| const std::string & | getErrFileName (void) const |
| Returns err file name. | |
| void | setErrFileName (const std::string &) |
| Sets error file name. | |
| const std::string & | getOutputFileName (void) const |
| Returns regular output file name. | |
| void | setOutputFileName (const std::string &) |
| Sets regular output file name. | |
| boost::python::object | evalPy (boost::python::object dict, const std::string &) |
| Return the Python object that results from evaluating the argument. | |
| boost::python::object | execPy (boost::python::object dict, const std::string &) |
| Return the Python objects that results from executing the code in the string argument. | |
| boost::python::object | execFilePy (boost::python::object dict, const std::string &) |
| Return the Python object that results from executing the code in the file. | |
Public Member Functions inherited from EntityWithProperties | |
| EntityWithProperties (EntityWithProperties *owr=nullptr) | |
| Default constructor. | |
| void | clearPyProps (void) |
| Clear python properties map. | |
| bool | hasPyProp (const std::string &) |
| Returns true if property exists. | |
| boost::python::object | getPyProp (const std::string &str) |
| Return the Python object with the name being passed as parameter. | |
| void | setPyProp (std::string str, boost::python::object val) |
| Sets/appends a value tho the Python object's dictionary. | |
| void | copyPropsFrom (const EntityWithProperties &) |
| Copy the properties from the argument. | |
| boost::python::list | getPropNames (void) const |
| Return the names of the object properties weightings. | |
| const PythonDict & | getPropertiesDict (void) const |
| Return a std::map container with the properties of the object. | |
| boost::python::dict | getPyDict (void) const |
| Return a Python dictionary containing the object members values. | |
| void | setPyDict (const boost::python::dict &) |
| Set the values of the object members from a Python dictionary. | |
Public Member Functions inherited from EntityWithOwner | |
| EntityWithOwner (EntityWithOwner *owr=nullptr) | |
| Default constructor. | |
| EntityWithOwner (const EntityWithOwner &) | |
| Copy constructor. | |
| EntityWithOwner & | operator= (const EntityWithOwner &) |
| Assignment operator. | |
| virtual bool | operator== (const EntityWithOwner &) const |
| Comparison operator. | |
| virtual | ~EntityWithOwner (void) |
| Virtual destructor. | |
| virtual std::string | getClassName (void) const |
| Returns demangled class name. | |
| void | set_owner (EntityWithOwner *owr) |
| Assigns the owner of the object. | |
| EntityWithOwner * | Owner (void) |
| const EntityWithOwner * | Owner (void) const |
Friends | |
| class | MultiBlockTopology |
Additional Inherited Members | |
Public Types inherited from XC::PtrArrayBase< Pnt > | |
| typedef TMatrix< 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 |
Public Types inherited from TMatrix< Pnt *, std::vector< Pnt *> > | |
| typedef std::list< Pnt * > | lst_T |
| typedef std::vector< Pnt * > ::iterator | iterator |
| typedef std::vector< Pnt * > ::const_iterator | const_iterator |
| typedef std::vector< Pnt * > ::value_type | value_type |
| typedef std::vector< Pnt * > ::reference | reference |
| typedef std::vector< Pnt * > ::const_reference | const_reference |
| typedef BoxConstRef< TMatrix< Pnt *, std::vector< Pnt * > > > | box_const_ref |
| typedef RowConstRef< TMatrix< Pnt *, std::vector< Pnt * > > > | row_const_ref |
| typedef ColumnConstRef< TMatrix< Pnt *, std::vector< Pnt * > > > | const_ref_col |
Public Types inherited from EntityWithProperties | |
| typedef std::map< std::string, boost::python::object > | PythonDict |
Static Public Member Functions inherited from CommandEntity | |
| static void | resetStandardOutput (void) |
| Reset the standard output streams to its defaults buffers. | |
Static Public Member Functions inherited from EntityWithOwner | |
| static int | getVerbosityLevel (void) |
| Get the value of the verbosity level. | |
| static void | setVerbosityLevel (const int &) |
| Set the value of the verbosity level. | |
Protected Member Functions inherited from XC::PtrArrayBase< Pnt > | |
| PtrArrayBase (const size_t &f=0, const size_t &c=0, const value_type &def_value=nullptr) | |
| Constructor. | |
Protected Member Functions inherited from TMatrix< Pnt *, std::vector< Pnt *> > | |
| virtual size_t | Indice (const size_t &iRow, const size_t &iCol) const |
| bool | equal_to (const TMatrix< Pnt *, std::vector< Pnt * > > &m2) const |
| TMatrix (const TMatrix< Pnt *, std::vector< Pnt * > > &orig, size_t f1, size_t c1, size_t f2, size_t c2) | |
Protected Member Functions inherited from ProtoMatrix | |
| void | PutDim (size_t nRows, size_t nCols) |
| void | inic (size_t n_rows, size_t n_columns) |
| virtual bool | check_range (const size_t &iRow, const size_t &col) const |
| void | check_put_box (size_t f, size_t c, const ProtoMatrix &box) const |
| void | check_get_box (size_t f1, size_t c1, size_t f2, size_t c2) const |
| void | check_sto_sum (const ProtoMatrix &m) const |
| void | check_sto_dif (const ProtoMatrix &m) const |
| void | check_traza (void) const |
Protected Member Functions inherited from CommandEntity | |
| template<class T > | |
| void | string_to (T &, const std::string &) const |
Protected Member Functions inherited from EntityWithProperties | |
| bool | isEqual (const EntityWithProperties &) const |
| Return true if both objects are equal. | |
Protected Member Functions inherited from EntityWithOwner | |
| virtual bool | isEqual (const EntityWithOwner &) const |
| Return true if both objects are equal. | |
Static Protected Member Functions inherited from CommandEntity | |
| static CommandEntity * | entcmd_cast (boost::any &data) |
Protected Attributes inherited from ProtoMatrix | |
| size_t | n_rows |
| size_t | n_columns |
Static Protected Attributes inherited from EntityWithOwner | |
| static int | verbosity = 1 |
| Object that owns THIS ONE. More... | |
Pointers to points in a matrix structure.
| std::deque< size_t > XC::PntPtrArray::copyPoints | ( | const MatrixRange & | rango, |
| const std::vector< size_t > & | offsetIndices, | ||
| const Vector3d & | vectorOffset = 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.
| XC::Pnt * XC::PntPtrArray::findPoint | ( | const size_t & | tag | ) |
Returns (if it exists) a pointer to point identified by the tag is being passed as parameter.
| const XC::Pnt * XC::PntPtrArray::findPoint | ( | const size_t & | tag | ) | const |
Returns (if it exists) a pointer to the point identified by the tag passed as parameter.
| std::deque< XC::Pnt * > XC::PntPtrArray::getLoop | ( | const std::vector< size_t > & | rowIndexes, |
| const std::vector< size_t > & | columnIndexes | ||
| ) | const |
Return a loop passing through the contour defined by the indexes.
| rowIndexes | row indexes. |
| colIndexes | column indexes. |
1.8.13