Commit 274120c9 by maarten

meer optimalisatie

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@324 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 0d503056
...@@ -160,6 +160,11 @@ inline double Distance(const Atom& a, const Atom& b) ...@@ -160,6 +160,11 @@ inline double Distance(const Atom& a, const Atom& b)
return Distance(a.location(), b.location()); return Distance(a.location(), b.location());
} }
inline double DistanceSquared(const Atom& a, const Atom& b)
{
return DistanceSquared(a.location(), b.location());
}
typedef std::vector<Atom> AtomView; typedef std::vector<Atom> AtomView;
// -------------------------------------------------------------------- // --------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment