gz/math/Region3.hh
const Interval< T > & Iy() const
Get the y-axis interval for the region.
Definition: gz/math/Region3.hh:111
static constexpr Interval< T > Open(T _leftValue, T _rightValue)
Make an open interval (_leftValue, _rightValue)
Definition: gz/math/Interval.hh:74
Definition: gz/math/AdditivelySeparableScalarField3.hh:27
friend std::ostream & operator<<(std::ostream &_out, const Region3< T > &_r)
Stream insertion operator.
Definition: gz/math/Region3.hh:176
The Interval class represents a range of real numbers. Intervals may be open (a, b),...
Definition: gz/math/Interval.hh:44
bool operator==(const Region3< T > &_other) const
Equality test operator.
Definition: gz/math/Region3.hh:159
The Region3 class represents the cartesian product of intervals Ix ✕ Iy ✕ Iz, one per axis,...
Definition: gz/math/Region3.hh:51
static const Region3< T > & Unbounded
An unbounded region (-∞, ∞) ✕ (-∞, ∞) ✕ (-∞, ∞)
Definition: gz/math/Region3.hh:54
const Interval< T > & Ix() const
Get the x-axis interval for the region.
Definition: gz/math/Region3.hh:107
STL class.
The Vector3 class represents the generic vector containing 3 elements. Since it's commonly used to ke...
Definition: gz/math/Vector3.hh:41
static constexpr Region3< T > Open(T _xLeft, T _yLeft, T _zLeft, T _xRight, T _yRight, T _zRight)
Make an open region.
Definition: gz/math/Region3.hh:78
static constexpr Region3< T > Closed(T _xLeft, T _yLeft, T _zLeft, T _xRight, T _yRight, T _zRight)
Make a closed region.
Definition: gz/math/Region3.hh:96
bool Contains(const Region3< T > &_other) const
Check if the region contains _other region.
Definition: gz/math/Region3.hh:139
const Interval< T > & Iz() const
Get the z-axis interval for the region.
Definition: gz/math/Region3.hh:115
STL namespace.
bool Empty() const
Check if the region is empty A region is empty if any of the intervals it is defined with (i....
Definition: gz/math/Region3.hh:121
constexpr Region3(Interval< T > _ix, Interval< T > _iy, Interval< T > _iz)
Constructor.
Definition: gz/math/Region3.hh:63
bool Contains(const Vector3< T > &_point) const
Check if the region contains _point
Definition: gz/math/Region3.hh:129
bool operator!=(const Region3< T > &_other) const
Inequality test operator.
Definition: gz/math/Region3.hh:167
bool Intersects(const Region3< T > &_other) const
Check if the region intersects _other region.
Definition: gz/math/Region3.hh:149