8 #ifndef IMPSAXS_SOLVENT_ACCESSIBLE_SURFACE_H
9 #define IMPSAXS_SOLVENT_ACCESSIBLE_SURFACE_H
11 #include <IMP/saxs/saxs_config.h>
14 IMPSAXS_BEGIN_NAMESPACE
34 float probe_radius = 1.8,
39 const float radius1,
const float radius2) {
40 float squared_radius_sum = (radius1+radius2)*(radius1+radius2);
43 if(fabs(squared_radius_sum - squared_dist) < 0.0001)
45 if(squared_radius_sum > squared_dist)
double get_squared_distance(const VectorD< D > &v1, const VectorD< D > &v2)
compute the squared distance between two vectors
Decorator for a sphere-like particle.