IMP  2.1.0
The Integrative Modeling Platform
IMP::algebra::SphereD< D > Class Template Reference

#include <IMP/algebra/SphereD.h>

+ Inheritance diagram for IMP::algebra::SphereD< D >:

Public Member Functions

 SphereD (const VectorD< D > &center, 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
 

Detailed Description

template<int D>
class IMP::algebra::SphereD< D >

Represent a sphere in D-dimensions. See geometric primitives for more information.

Definition at line 25 of file SphereD.h.


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