xc
Public Member Functions | Friends | List of all members

Pointers to points in a matrix structure. More...

#include <PntPtrArray.h>

Inheritance diagram for XC::PntPtrArray:
XC::PtrArrayBase< Pnt >

Public Member Functions

 PntPtrArray (const size_t &f=0, const size_t &c=0)
 Constructor.
 
m_int getTags (void) const
 Returns an array with the point identifiers.
 
const MultiBlockTopologygetMultiBlockTopology (void) const
 Returns a pointer to the MultiBlockTopology object.
 
MultiBlockTopologygetMultiBlockTopology (void)
 Returns a pointer to the MultiBlockTopology object.
 
void setPnt (const size_t &, const size_t &, const int &)
 
PntgetPnt (const size_t &, const size_t &)
 
PntfindPoint (const size_t &)
 Returns (if it exists) a pointer to point identified by the tag is being passed as parameter. More...
 
const PntfindPoint (const size_t &) const
 Returns (if it exists) a pointer to the point identified by the tag passed as parameter. More...
 
PntgetNearestPnt (const Pos3d &p)
 Return the point closest to the point being passed as parameter.
 
const PntgetNearestPnt (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 getCentroide (void) const
 Return the framework centroid.
 
- Public Member Functions inherited from XC::PtrArrayBase< 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 > 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)
 

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
 
- Protected Member Functions inherited from XC::PtrArrayBase< Pnt >
 PtrArrayBase (const size_t &f=0, const size_t &c=0)
 Constructor.
 

Detailed Description

Pointers to points in a matrix structure.

Member Function Documentation

§ copyPoints()

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.

§ findPoint() [1/2]

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.

§ findPoint() [2/2]

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.


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