libcootapi
 
Loading...
Searching...
No Matches
/opt/conda/conda-bld/coot-headless_1766554182969/work/api/api-cell.hh
1/*
2 * api/api-cell.hh
3 *
4 * Copyright 2020 by Medical Research Council
5 * Author: Paul Emsley
6 *
7 * This file is part of Coot
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as published
11 * by the Free Software Foundation; either version 3 of the License, or (at
12 * your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copies of the GNU General Public License and
20 * the GNU Lesser General Public License along with this program; if not,
21 * write to the Free Software Foundation, Inc., 51 Franklin Street,
22 * Fifth Floor, Boston, MA, 02110-1301, USA.
23 * See http://www.gnu.org/licenses/
24 *
25 */
26
27#ifndef API_CELL_HH
28#define API_CELL_HH
29
30namespace api {
31
35 class cell_t {
36 public:
38 float a;
40 float b;
42 float c;
44 float alpha;
46 float beta;
48 float gamma;
50 bool is_set;
51 cell_t() { is_set = false; }
52 cell_t(float a, float b, float c, float alpha, float beta, float gamma) :
53 a(a), b(b), c(c), alpha(alpha), beta(beta), gamma(gamma), is_set(true) {}
54 };
55
56}
57
58#endif // API_CELL_HH
Definition api-cell.hh:35
float alpha
alpha
Definition api-cell.hh:44
float gamma
gamma
Definition api-cell.hh:48
float beta
beta
Definition api-cell.hh:46
float b
b
Definition api-cell.hh:40
float a
a
Definition api-cell.hh:38
float c
c
Definition api-cell.hh:42
bool is_set
is_set
Definition api-cell.hh:50