xc
Pos2dArray3d.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // xc utils library; general purpose classes and functions.
4 //
5 // Copyright (C) Luis C. Pérez Tato
6 //
7 // XC utils is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // This software is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program.
19 // If not, see <http://www.gnu.org/licenses/>.
20 //----------------------------------------------------------------------------
21 //Pos2dArray3d
22 
23 #ifndef POS2DARRAY3D_H
24 #define POS2DARRAY3D_H
25 
26 #include "Pos2d.h"
27 #include "PosArray3d.h"
28 
29 class Pos2dArray;
30 
31 
33 //
35 class Pos2dArray3d: public PosArray3d<Pos2d>
36  {
37  public:
38  Pos2dArray3d(const size_t iLayers= 1);
39  Pos2d getCenter(void) const;
40  };
41 
42 class BND2d;
43 
44 Pos2dArray3d create_uniform_grid(const BND2d &bnd,const size_t &ndiv_x,const size_t &ndiv_y,const size_t &ndiv_z= 0);
45 
46 #endif
"boundary" en dos dimensiones.
Definition: BND2d.h:38
Posición en dos dimensiones.
Definition: Pos2d.h:41
Array of positions in a two-dimensional space.
Definition: Pos2dArray.h:38
Array of positions ina two-dimensional space.
Definition: Pos2dArray3d.h:35
Base class for grids of positions in 3D.
Definition: PosArray3d.h:35