IMP logo
IMP Reference Guide  2.17.0
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 >
 Represent a sphere in D-dimensions. More...
 

Namespaces

 IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
 
 IMP::algebra
 General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP modules.
 

Typedefs

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

Functions

template<class Geometry >
double IMP::algebra::get_area (const Geometry &)
 Compute the area of any surface object. More...
 
template<class Geometry >
BoundingBoxD< 3 > IMP::algebra::get_bounding_box (const Geometry &)
 Compute the bounding box of any geometric object. More...
 
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 intersect. 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<class Geometry >
double IMP::algebra::get_surface_area (const Geometry &)
 Compute the surface area of any volumetric object. More...
 
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)
 
template<class Geometry >
double IMP::algebra::get_volume (const Geometry &)
 Compute the volume of any volumetric object. More...
 

Detailed Description

Simple 3D sphere class.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file SphereD.h.