IMP logo
IMP Reference Guide  2.14.0
The Integrative Modeling Platform
IMP::score_functor::PointToSphereDistance< BaseDistanceScore > Class Template Reference

#include <IMP/score_functor/PointToSphereDistance.h>

Inherits BaseDistanceScore.

Detailed Description

template<class BaseDistanceScore>
class IMP::score_functor::PointToSphereDistance< BaseDistanceScore >

Transform the center distance to the sphere distance where only the second particle is treated as a sphere and pass it off to BaseDistanceScore.

Note
The second particle is assumed to be the sphere.
See Also
SphereDistance

Definition at line 27 of file PointToSphereDistance.h.

Public Member Functions

 PointToSphereDistance (BaseDistanceScore base)
 
bool get_is_trivially_zero (Model *m, const ParticleIndexPair &pi, double squared_distance) const
 
double get_maximum_range (Model *m, const ParticleIndexPair &pi) const
 
double get_score (Model *m, const ParticleIndexPair &pi, double distance) const
 
DerivativePair get_score_and_derivative (Model *m, const ParticleIndexPair &pi, double distance) const
 

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