| 1 | /* |
| 2 | * lidia-core/get-residue.hh |
| 3 | * |
| 4 | * Copyright 2018 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 | * 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 | #include <mmdb2/mmdb_manager.h> |
| 28 | #include <clipper/core/coords.h> |
| 29 | #include "geometry/residue-and-atom-specs.hh"cxx . . $ `<file>/geometry/residue-and-atom-specs.hh`/ |
| 30 | |
| 31 | namespace cootcxx . . $ coot/ { |
| 32 | |
| 33 | namespace lidia_utilscxx . . $ coot/lidia_utils/ { |
| 34 | mmdbcxx . . $ mmdb/::Residuecxx . . $ mmdb/Residue# *get_residuecxx . . $ coot/lidia_utils/get_residue(6049532bd3c35128).(const residue_spec_tcxx . . $ coot/residue_spec_t# &res_spec, mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *mol); |
| 35 | |
| 36 | clippercxx . . $ clipper/::Coord_orthcxx . . $ clipper/Coord_orth# cocxx . . $ coot/lidia_utils/co(83465a92f19cbf90).(mmdbcxx . . $ mmdb/::Atomcxx . . $ mmdb/Atom# *at); |
| 37 | |
| 38 | } |
| 39 | } |