IMP Reference Guide
2.8.0
The Integrative Modeling Platform
|
Represent a sphere in D-dimensions. More...
#include <IMP/algebra/SphereD.h>
Represent a sphere in D-dimensions.
See geometric primitives for more information.
Public Member Functions | |
SphereD (const VectorD< D > ¢er, double radius) | |
const VectorD< D > & | get_center () const |
bool | get_contains (const SphereD< D > &o) const |
Return true if this sphere contains the other one. More... | |
bool | get_contains (const VectorD< D > &p) const |
Return true if the point is in or on the surface of the sphere. More... | |
unsigned int | get_dimension () const |
double | get_radius () const |
void | show (std::ostream &out=std::cout) const |
bool IMP::algebra::SphereD< D >::get_contains | ( | const SphereD< D > & | o | ) | const |
bool IMP::algebra::SphereD< D >::get_contains | ( | const VectorD< D > & | p | ) | const |