![]() |
Allium
0.1.0
|
An n-d range. More...
#include <range.hpp>
Public Member Functions | |
| Range (Point< int, D > begin_pos, Point< int, D > end_pos) | |
| bool | operator== (const Range &other) const |
| bool | in (Point< int, D > p) |
| int | index (Point< int, D > p) |
| bool | intersects (const Range< D > &other) |
| Point< int, D > | begin_pos () const |
| Point< int, D > | end_pos () const |
| RangeIterator< D > | begin () const |
| RangeIterator< D > | end () const |
| Point< int, D > | shape () const |
| size_t | size () const |
An n-d range.
|
inline |
True if the given point p is inside the range.
|
inline |
Returns true if the two ranges intersect.
|
inline |
The number of points per dimension.
|
inline |
The total number of points.