28 #include "utility/matrices/3d_arrays/Array3dBase.h" 41 PosArray3d(
const m_pos &,
const m_pos &,
const m_pos &,
const m_pos &,
const size_t &,
const size_t &);
44 POS getCenter(
void)
const;
51 const size_t &ndiv_12,
const size_t &ndiv_14)
54 const size_t n_layers= this->size();
55 for(
size_t i=1;i<=n_layers;i++)
57 const POS &p1= l1_points(i);
58 const POS &p2= l2_points(i);
59 const POS &p3= l3_points(i);
60 const POS &p4= l4_points(i);
65 m_pos i_layer(lado1,lado2,lado3,lado4);
75 template <
class POS,
class SEG>
81 SEG s(get_centro(base,SEG()),get_centro(tapa,SEG()));
82 retval= s.getCenterOfMass();
size_t NumPos(void) const
Return the number of points in the container.
Definition: PosArray3d.h:72
size_t getNumberOfComponents(void) const
Return the number of components in the container.
Definition: Array3dBase.h:235
Base class for position matrices used to represent grids of points.
Definition: PosArray.h:37
arrays3d
Definition: Array3dBase.h:51
Base class for grids of positions in 3D.
Definition: PosArray3d.h:35