Struct Range1D

Struct Documentation

struct Range1D

1D range structure.

Public Functions

inline int size() const

Get the size of the range.

The size is floored at zero.

inline int unravel(int i) const

Convert a linear index to a 1D index within the range.

Public Members

int begin
int end