OpenStructure
clash_score.hh
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // This file is part of the OpenStructure project <www.openstructure.org>
3 //
4 // Copyright (C) 2008-2020 by the OpenStructure authors
5 //
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License as published by the Free
8 // Software Foundation; either version 3.0 of the License, or (at your option)
9 // any later version.
10 // This library is distributed in the hope that it will be useful, but WITHOUT
11 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 // FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13 // details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this library; if not, write to the Free Software Foundation, Inc.,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 //------------------------------------------------------------------------------
19 #ifndef OST_MOL_ALG_CLASH_SCORE_HH
20 #define OST_MOL_ALG_CLASH_SCORE_HH
21 
22 /*
23  Author: Marco Biasini
24  */
25 
26 #include <ost/mol/entity_view.hh>
27 #include <ost/mol/entity_handle.hh>
29 
30 namespace ost { namespace mol { namespace alg {
31 
37 
39 Real DLLEXPORT_OST_MOL_ALG ClashScore(const mol::EntityView& ent_a, const mol::EntityView& ent_b);
45 
48  const mol::EntityView& ent_b);
54  const mol::EntityView& ent_b);
55 
58  const geom::Vec3& pos2, Real r2);
60 
65 }}}
66 
67 #endif
Three dimensional vector class, using Real precision.
Definition: vec3.hh:48
Handle to atom datatype.
Definition: atom_handle.hh:37
Protein or molecule.
definition of EntityView
Definition: entity_view.hh:86
float Real
Definition: base.hh:44
#define DLLEXPORT_OST_MOL_ALG
Real DLLEXPORT_OST_MOL_ALG StericEnergy(const geom::Vec3 &pos1, Real r1, const geom::Vec3 &pos2, Real r2)
calculate steric energy of two atoms
Real DLLEXPORT_OST_MOL_ALG ClashScore(const mol::EntityView &ent_a, const mol::EntityView &ent_b)
calculate clash score between two entity views
Definition: base.dox:1