IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/21
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 "internal/utility.h"
#include "algebra_macros.h"
#include <IMP/exception.h>
#include <cereal/access.hpp>
+ 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
 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 BoundingBoxD< 1 > IMP::algebra::BoundingBox1D
 Typedef for Python. More...
 
typedef IMP::Vector
< BoundingBox1D > 
IMP::algebra::BoundingBox1Ds
 
typedef BoundingBoxD< 2 > IMP::algebra::BoundingBox2D
 Typedef for Python. More...
 
typedef IMP::Vector
< BoundingBox2D > 
IMP::algebra::BoundingBox2Ds
 
typedef BoundingBoxD< 3 > IMP::algebra::BoundingBox3D
 Typedef for Python. More...
 
typedef IMP::Vector
< BoundingBox3D > 
IMP::algebra::BoundingBox3Ds
 
typedef BoundingBoxD< 4 > IMP::algebra::BoundingBox4D
 Typedef for Python. More...
 
typedef IMP::Vector
< BoundingBox4D > 
IMP::algebra::BoundingBox4Ds
 
typedef BoundingBoxD< 5 > IMP::algebra::BoundingBox5D
 Typedef for Python. More...
 
typedef IMP::Vector
< BoundingBox5D > 
IMP::algebra::BoundingBox5Ds
 
typedef BoundingBoxD< 6 > IMP::algebra::BoundingBox6D
 Typedef for Python. More...
 
typedef IMP::Vector
< BoundingBox6D > 
IMP::algebra::BoundingBox6Ds
 
typedef BoundingBoxD<-1 > IMP::algebra::BoundingBoxKD
 Typedef for Python. More...
 
typedef IMP::Vector
< BoundingBoxKD > 
IMP::algebra::BoundingBoxKDs
 

Functions

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...
 
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...
 
template<int D>
Vector< VectorD< D > > IMP::algebra::get_vertices (const BoundingBoxD< D > &bb)
 Return a list of the 2^D bounding points for the bounding box. More...
 
template<int D>
double IMP::algebra::get_volume (const BoundingBoxD< D > &bb)
 See BoundingBoxD. More...
 

Detailed Description

A bounding box in D dimensions.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file BoundingBoxD.h.