IMP logo

SphereD.h File Reference

Simple 3D sphere class. More...

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.


Data Structures

class  IMP::algebra::SphereD< D >

Namespaces

namespace  IMP
 The IMP kernel provides base classes and key shared functionality.
namespace  IMP::algebra
 This module contains general purpose algebraic and geometric methods.

Functions

template<class Geometry >
double IMP::algebra::get_area (const Geometry &)
 Compute the area of any surface object.
template<class Geometry >
BoundingBoxD< 3 > IMP::algebra::get_bounding_box (const Geometry &)
 Compute the bounding box of any geometric object.
template<unsigned 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.
template<unsigned 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.
template<unsigned int D>
double IMP::algebra::get_power_distance (const SphereD< D > &a, const SphereD< D > &b)
 Return the power distance between the two spheres.
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 ()
template<class Geometry >
double IMP::algebra::get_volume (const Geometry &)
 Compute the volume of any volumetric object.

Detailed Description

Simple 3D sphere class.

Copyright 2007-2010 IMP Inventors. All rights reserved.


Generated on Mon Mar 8 23:07:46 2010 for IMP by doxygen 1.5.8