IMP
2.0.1
The Integrative Modeling Platform
|
An index in an infinite grid on space.
#include <IMP/algebra/grid_indexes.h>
Public Types | |
typedef const int * | iterator |
Public Member Functions | |
ExtendedGridIndexD (Ints vals) | |
Create a grid cell from three arbitrary indexes. | |
template<class It > | |
ExtendedGridIndexD (It b, It e) | |
ExtendedGridIndexD (int x, int y, int z) | |
iterator | begin () const |
iterator | end () const |
unsigned int | get_dimension () const |
ExtendedGridIndexD< D > | get_offset (int i, int j, int k) const |
ExtendedGridIndexD< D > | get_uniform_offset (int ii) const |
IMP_COMPARISONS (ExtendedGridIndexD) | |
IMP_HASHABLE_INLINE (ExtendedGridIndexD, return boost::hash_range(begin(), end())) | |
const int | operator[] (unsigned int) const |
Get the ith component (i=0,1,2) | |
int & | operator[] (unsigned int) |
void | show (std::ostream &out=std::cout) const |
Definition at line 28 of file grid_indexes.h.