IMP Reference Guide
2.22.0
The Integrative Modeling Platform
|
#include <IMP/score_functor/PointToSphereDistance.h>
Inherits 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.
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 |