xc
src
utility
matrices
3d_arrays
BoolArray3d.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
//BoolArray3d.h
22
//Array of point matrices.
23
24
#ifndef BOOLARRAY3D_H
25
#define BOOLARRAY3D_H
26
27
#include "utility/matrices/m_bool.h"
28
#include "Array3dBase.h"
29
31
//
34
class
BoolArray3d
:
public
Array3dBase
<m_bool>
35
{
36
public
:
37
BoolArray3d
(
const
size_t
&n_layers,
const
size_t
&n_rows,
const
size_t
&n_columns,
const
bool
&def_value=
true
);
38
};
39
40
41
42
#endif
BoolArray3d
Base class for grids of bool in 3D (used to express if something exists or not in a (layer...
Definition:
BoolArray3d.h:34
BoolArray3d::BoolArray3d
BoolArray3d(const size_t &n_layers, const size_t &n_rows, const size_t &n_columns, const bool &def_value=true)
Generate the bool arrays from the arguments.
Definition:
BoolArray3d.cc:31
Array3dBase
arrays3d
Definition:
Array3dBase.h:51
Generated by
1.8.13