Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
protocols::constel::OrientCommon Class Reference

A class to hold data structures and functions common to filters that consider how groups of atoms within a constellation are oriented. More...

#include <Primitives.hh>

Static Public Member Functions

static bool is_closer_to_tgt (numeric::xyzVector< core::Real > const &low, numeric::xyzVector< core::Real > const &hi, numeric::xyzVector< core::Real > const &tgt)
 Tells whether atom 'low' is closer to atom 'tgt' than atom 'hi' is. More...
 

Detailed Description

A class to hold data structures and functions common to filters that consider how groups of atoms within a constellation are oriented.

Member Function Documentation

bool protocols::constel::OrientCommon::is_closer_to_tgt ( numeric::xyzVector< core::Real > const &  low,
numeric::xyzVector< core::Real > const &  hi,
numeric::xyzVector< core::Real > const &  tgt 
)
static

Tells whether atom 'low' is closer to atom 'tgt' than atom 'hi' is.

Parameters
[in]lowCartesian coordinates of a first atom.
[in]hiCartesian coordinates of a second atom.
[in]tgtCartesian coordinates of a third, target atom.
Returns
true if the distance of 'low' to 'tgt' is less than the distance of 'hi' to 'tgt'; false otherwise.

Referenced by protocols::constel::FilterByIndoleCOO::is_satisfied(), protocols::constel::FilterByTryptamine::is_satisfied(), protocols::constel::FilterByAmphetamine::is_satisfied(), and protocols::constel::FilterByHistamine::is_satisfied().


The documentation for this class was generated from the following files: