30 #ifndef PNTPTRARRAY3d_H 31 #define PNTPTRARRAY3d_H 33 #include "xc_utils/src/kernel/CommandEntity.h" 34 #include "PntPtrArray.h" 35 #include "PtrArray3dBase.h" 36 #include "utility/matrix/Vector.h" 38 #include "xc_basic/src/matrices/Indices3dArray.h" 68 std::deque<size_t>
copyPoints(
const Array3dRange &,
const std::vector<size_t> &,
const Vector3d &);
78 void setPnt(
const size_t &,
const size_t &,
const size_t &,
const int &);
79 Pnt *getPnt(
const size_t &,
const size_t &,
const size_t &);
82 void Print(std::ostream &os)
const;
86 std::ostream &operator<<(std::ostream &os,
const PntPtrArray3d &);
88 std::vector<size_t>
getIdPointsQuad(
const PntPtrArray3d::constant_i_layer_const_ref &,
const size_t &j,
const size_t &k);
Pnt * getPoint(const VIndices &i)
Return the points which indices are being passed as parameter.
Definition: PntPtrArray3d.cc:240
Pnt * getNearestPnt(const Pos3d &p)
Return the point closest to the one being passed as parameter.
Definition: PntPtrArray3d.cc:153
std::vector< size_t > getIdPointsQuad(const PntPtrArray3d::constant_i_layer_const_ref &, const size_t &j, const size_t &k)
Return the indexes of the points (j,k),(j+1,k),(j+1,k+1),(j,k+1).
Definition: PntPtrArray3d.cc:378
const MultiBlockTopology * getMultiBlockTopology(void) const
Returns a pointer to the MultiBlockTopology object.
Definition: PntPtrArray3d.cc:120
PntPtrArray3d getPoints(const Indices3dArray &)
Return the points which indices are being passed as parameter.
Definition: PntPtrArray3d.cc:256
Model geometry manager.
Definition: MultiBlockTopology.h:68
Three-dimenstional array of point pointers.
Definition: PntPtrArray3d.h:50
PntPtrArray3d getPointsOnRange(const Array3dRange &)
Return the points del rango being passed as parameter.
Definition: PntPtrArray3d.cc:219
Pointers to points in a matrix structure.
Definition: PntPtrArray.h:49
std::deque< size_t > copyPoints(const Array3dRange &, 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 matr...
Definition: PntPtrArray3d.cc:196
PntPtrArray3d(const size_t n_layers=0)
Default constructor.
Definition: PntPtrArray3d.cc:50
Point (KPoint).
Definition: Pnt.h:49
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Pnt * findPoint(const int &tag)
Returns (if it exists) a pointer to the point identified by the tag being passed as parameter...
Definition: PntPtrArray3d.cc:106
Three dimensional framework container.
Definition: Framework3d.h:42
Three-dimensional array of object pointers.
Definition: PtrArray3dBase.h:55
Pos3d getCentroide(void) const
Return the framework centroid.
Definition: PntPtrArray3d.cc:85
PntPtrArray3d getCellPoints(const size_t &, const size_t &, const size_t &, const Indices3dArray &)
Return the cell builded by the points obtained from the positions of the tritrix that result for addi...
Definition: PntPtrArray3d.cc:301