#include <vtkArrayRange.h>
Stores a half-open range of array coordinates.
vtkArrayRange stores a half-open range of array coordinates along a single dimension of a vtkArraySlice object.
- See also
- vtkArray, vtkArrayRange
- Thanks:
- Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
- Tests:
- vtkArrayRange (Tests)
Definition at line 32 of file vtkArrayRange.h.
◆ CoordinateT
◆ vtkArrayRange() [1/2]
| vtkArrayRange::vtkArrayRange |
( |
| ) |
|
◆ vtkArrayRange() [2/2]
Creates a half-open range [begin, end).
Note that begin must be <= end, if not, creates the empty range [begin, begin).
◆ GetBegin()
Returns the beginning of the range.
◆ GetEnd()
Returns one-past-the-end of the range.
◆ GetSize()
Returns the size of the range (the distance End - Begin).
◆ Contains() [1/2]
| bool vtkArrayRange::Contains |
( |
const vtkArrayRange & | range | ) |
const |
Returns true iff the given range is a non-overlapping subset of this range.
◆ Contains() [2/2]
| bool vtkArrayRange::Contains |
( |
CoordinateT | coordinate | ) |
const |
Returns true iff the given coordinate falls within this range.
◆ operator==
◆ operator!=
◆ operator<<
| VTKCOMMONCORE_EXPORT friend ostream & operator<< |
( |
ostream & | stream, |
|
|
const vtkArrayRange & | rhs ) |
|
friend |
The documentation for this class was generated from the following file: