IMP  2.2.1
The Integrative Modeling Platform
SphereD.h File Reference

Simple 3D sphere class. More...

#include "algebra_macros.h"
#include "constants.h"
#include "BoundingBoxD.h"
#include "VectorD.h"
#include "utility.h"
#include "GeometricPrimitiveD.h"
#include <cmath>
+ Include dependency graph for SphereD.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::algebra::SphereD< D >
 

Namespaces

 IMP
 All IMP::kernel code is brought into the IMP namespace.
 
 IMP::algebra
 See IMP.algebra for more information.
 

Typedefs

typedef SphereD< 1 > IMP::algebra::Sphere1D
 
typedef IMP::base::Vector
< Sphere1D > 
IMP::algebra::Sphere1Ds
 
typedef SphereD< 2 > IMP::algebra::Sphere2D
 
typedef IMP::base::Vector
< Sphere2D > 
IMP::algebra::Sphere2Ds
 
typedef SphereD< 3 > IMP::algebra::Sphere3D
 
typedef IMP::base::Vector
< Sphere3D > 
IMP::algebra::Sphere3Ds
 
typedef SphereD< 4 > IMP::algebra::Sphere4D
 
typedef IMP::base::Vector
< Sphere4D > 
IMP::algebra::Sphere4Ds
 
typedef SphereD< 5 > IMP::algebra::Sphere5D
 
typedef IMP::base::Vector
< Sphere5D > 
IMP::algebra::Sphere5Ds
 
typedef SphereD< 6 > IMP::algebra::Sphere6D
 
typedef IMP::base::Vector
< Sphere6D > 
IMP::algebra::Sphere6Ds
 
typedef SphereD<-1 > IMP::algebra::SphereKD
 
typedef IMP::base::Vector
< SphereKD > 
IMP::algebra::SphereKDs
 

Functions

template<class Geometry >
double IMP::algebra::get_area (const Geometry &)
 Compute the area of any surface object.
 
template<int D>
BoundingBoxD< D > IMP::algebra::get_bounding_box (const SphereD< D > &g)
 
template<class Geometry >
BoundingBoxD< 3 > IMP::algebra::get_bounding_box (const Geometry &)
 Compute the bounding box of any geometric object.
 
template<int D>
double IMP::algebra::get_distance (const SphereD< D > &a, const SphereD< D > &b)
 Return the distance between the two spheres if they are disjoint. More...
 
template<int D>
bool IMP::algebra::get_interiors_intersect (const SphereD< D > &a, const SphereD< D > &b)
 Return true if the two balls bounded by the two spheres interesect. More...
 
template<int D>
double IMP::algebra::get_power_distance (const SphereD< D > &a, const SphereD< D > &b)
 Return the power distance between the two spheres. More...
 
template<int D>
const SphereD< D > & IMP::algebra::get_sphere_d_geometry (const SphereD< D > &g)
 
double IMP::algebra::get_surface_area (const SphereD< 3 > &g)
 
template<class Geometry >
double IMP::algebra::get_surface_area (const Geometry &)
 Compute the surface area of any volumetric object.
 
template<unsigned int D>
SphereD< D > IMP::algebra::get_unit_sphere_d ()
 
SphereD<-1 > IMP::algebra::get_unit_sphere_kd (unsigned int d)
 
template<int D>
VectorD< D > IMP::algebra::get_vector_geometry (const SphereD< D > &s)
 
double IMP::algebra::get_volume (const SphereD< 3 > &g)
 
template<class Geometry >
double IMP::algebra::get_volume (const Geometry &)
 Compute the volume of any volumetric object.
 
template<int D>
void IMP::algebra::set_sphere_d_geometry (SphereD< D > &g, const SphereD< D > &v)
 

Detailed Description

Copyright 2007-2014 IMP Inventors. All rights reserved.

Definition in file SphereD.h.