OpenStructure
build-dev-doc
stage
include
ost
mol
alg
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
>
28
#include <
ost/mol/alg/module_config.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
47
Real
DLLEXPORT_OST_MOL_ALG
ClashScore
(
const
mol::EntityHandle
& ent_a,
48
const
mol::EntityView
& ent_b);
53
Real
DLLEXPORT_OST_MOL_ALG
ClashScore
(
const
mol::AtomHandle
& atom,
54
const
mol::EntityView
& ent_b);
55
57
Real
DLLEXPORT_OST_MOL_ALG
StericEnergy
(
const
geom::Vec3
& pos1,
Real
r1,
58
const
geom::Vec3
& pos2,
Real
r2);
60
65
}}}
66
67
#endif
geom::Vec3
Three dimensional vector class, using Real precision.
Definition:
vec3.hh:48
ost::mol::AtomHandle
Handle to atom datatype.
Definition:
atom_handle.hh:37
ost::mol::EntityHandle
Protein or molecule.
Definition:
entity_handle.hh:54
ost::mol::EntityView
definition of EntityView
Definition:
entity_view.hh:86
entity_handle.hh
entity_view.hh
Real
float Real
Definition:
base.hh:44
module_config.hh
DLLEXPORT_OST_MOL_ALG
#define DLLEXPORT_OST_MOL_ALG
Definition:
module_config.hh:27
ost::mol::alg::StericEnergy
Real DLLEXPORT_OST_MOL_ALG StericEnergy(const geom::Vec3 &pos1, Real r1, const geom::Vec3 &pos2, Real r2)
calculate steric energy of two atoms
ost::mol::alg::ClashScore
Real DLLEXPORT_OST_MOL_ALG ClashScore(const mol::EntityView &ent_a, const mol::EntityView &ent_b)
calculate clash score between two entity views
ost
Definition:
base.dox:1
Generated by
1.9.1