IMP
2.2.0
The Integrative Modeling Platform
|
#include <IMP/algebra/SphereD.h>
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. | |
bool | get_contains (const VectorD< D > &p) const |
Return true if the point is in or on the surface of the sphere. | |
unsigned int | get_dimension () const |
double | get_radius () const |
void | show (std::ostream &out=std::cout) const |
Represent a sphere in D-dimensions. See geometric primitives for more information.