Struct Range3D

Struct Documentation

struct Range3D

3D range structure.

Public Functions

inline int size() const

Get the total size of the 3D range.

The total size is assumed to fit in an int.

inline Index3D unravel(int idx) const

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

Public Members

Range1D range0
Range1D range1
Range1D range2