IMP logo

IMP::algebra::GridRangeD< D > Class Template Reference


Detailed Description

template<int D>
class IMP::algebra::GridRangeD< D >

A Boost.Range over the vertices of a grid.

This range range the VectorD objects whose coordinates are $ \mathbf{v}= \mathbf{\min}+ \sum_i q_i \hat{\mathbf{x}}_i $ such that $ \mathbf{v}\left[i\right] < \mathbf{\max}\left[i\right]$ where $\hat{\mathbf{x}_i}$ is the ith basis vector, $q_i$ is an arbitrary integer and $i$ ranges over the dimension of the vector.


Public Types

typedef iterator const_iterator
typedef GridIteratorD< D > iterator

Public Member Functions

const_iterator begin () const
const_iterator end () const
 GridRangeD (const VectorD< D > &min, const VectorD< D > &max, double step)
 Create a new range on the volume [min, max] with step step.

The documentation for this class was generated from the following file:

Generated on Mon Mar 8 23:08:47 2010 for IMP by doxygen 1.5.8