IMP  2.1.1
The Integrative Modeling Platform
BoundingBoxD.h File Reference

A bounding box in D dimensions. More...

#include <IMP/algebra/algebra_config.h>
#include "VectorD.h"
#include "algebra_macros.h"
#include <IMP/base/exception.h>
+ Include dependency graph for BoundingBoxD.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::algebra::BoundingBoxD< D >
 An axis-aligned bounding box. More...
 

Namespaces

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

Typedefs

typedef BoundingBoxD< 1 > IMP::algebra::BoundingBox1D
 
typedef IMP::base::Vector
< BoundingBox1D > 
IMP::algebra::BoundingBox1Ds
 
typedef BoundingBoxD< 2 > IMP::algebra::BoundingBox2D
 
typedef IMP::base::Vector
< BoundingBox2D > 
IMP::algebra::BoundingBox2Ds
 
typedef BoundingBoxD< 3 > IMP::algebra::BoundingBox3D
 
typedef IMP::base::Vector
< BoundingBox3D > 
IMP::algebra::BoundingBox3Ds
 
typedef BoundingBoxD< 4 > IMP::algebra::BoundingBox4D
 
typedef IMP::base::Vector
< BoundingBox4D > 
IMP::algebra::BoundingBox4Ds
 
typedef BoundingBoxD< 5 > IMP::algebra::BoundingBox5D
 
typedef IMP::base::Vector
< BoundingBox5D > 
IMP::algebra::BoundingBox5Ds
 
typedef BoundingBoxD< 6 > IMP::algebra::BoundingBox6D
 
typedef IMP::base::Vector
< BoundingBox6D > 
IMP::algebra::BoundingBox6Ds
 
typedef BoundingBoxD<-1 > IMP::algebra::BoundingBoxKD
 
typedef IMP::base::Vector
< BoundingBoxKD > 
IMP::algebra::BoundingBoxKDs
 

Functions

template<int D>
BoundingBoxD< D > IMP::algebra::get_bounding_box (const BoundingBoxD< D > &g)
 
template<int D>
const BoundingBoxD< D > & IMP::algebra::get_bounding_box_d_geometry (const BoundingBoxD< D > &g)
 
template<unsigned int D>
BoundingBoxD< D > IMP::algebra::get_cube_d (double radius)
 Cube with radius of length radius. More...
 
BoundingBoxD<-1 > IMP::algebra::get_cube_kd (unsigned int d, double radius)
 Cube with radius of length side. More...
 
IntPairs IMP::algebra::get_edges (const BoundingBoxD< 3 > &)
 Return the edges of the box as indices into the vertices list. More...
 
template<int D>
bool IMP::algebra::get_interiors_intersect (const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
 Return true if they intersect. More...
 
template<int D>
BoundingBoxD< D > IMP::algebra::get_intersection (const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
 Return the intersecting bounding box. More...
 
template<int D>
double IMP::algebra::get_maximum_length (const BoundingBoxD< D > &a)
 Return the maximum axis aligned extent. More...
 
double IMP::algebra::get_surface_area (const BoundingBoxD< 3 > &g)
 
template<int D>
BoundingBoxD< D > IMP::algebra::get_union (BoundingBoxD< D > a, const BoundingBoxD< D > &b)
 Return the union bounding box. More...
 
template<unsigned int D>
BoundingBoxD< D > IMP::algebra::get_unit_bounding_box_d ()
 Box with radius one. More...
 
BoundingBoxD<-1 > IMP::algebra::get_unit_bounding_box_kd (unsigned int d)
 Box with radius one. More...
 
Vector3Ds IMP::algebra::get_vertices (const BoundingBoxD< 3 > &bb)
 Return a list of the 8 bounding points for the bounding box. More...
 
template<int D>
double IMP::algebra::get_volume (const BoundingBoxD< D > &bb)
 
double IMP::algebra::get_volume (const BoundingBoxD< 3 > &g)
 
template<int D>
void IMP::algebra::set_bounding_box_d_geometry (BoundingBoxD< D > &g, const BoundingBoxD< D > &v)
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file BoundingBoxD.h.