|
IOLink
IOL_v1.2.0_release
|
3 #include <iolink/IOLinkAPI.h>
4 #include <iolink/VectorX.h>
26 explicit RegionX(
size_t dimension);
127 bool operator==(
const RegionX& other)
const;
128 bool operator!=(
const RegionX& other)
const;
A dynamically sized arithmetic vector.
Definition: VectorX.h:17
bool intersect(const RegionX &other) const
Checks if this region intersect another.
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:7
static RegionX createFullRegion(const SizeType ®ionSize)
Utility factory that create the region of origin [0, 0, 0] and given size.
RegionX(size_t dimension)
Creates an empty region.
bool isEmpty() const
Checks if the region is empty.
std::string toString() const
Return a string representation.
size_t elementCount() const
Returns the number of cells in this region.
const SizeType & size() const
Returns the region's size.
RegionX intersection(const RegionX &other) const
Returns the intersection of this region and another.
VectorType min() const
Returns the minimal point of the region.
RegionX extractSliceFromAxis(size_t dimension, T origin) const
Returns a region of size one along one axis.
VectorType max() const
Return the maximal point of the region.
const VectorType & origin() const
Returns the position of the region's origin.
bool contains(const RegionX &other) const
Checks if this region conatins another.
A Region using dynamic vectors.
Definition: RegionX.h:13
size_t dimensionCount() const
The dimension of this region.