17 #ifndef GZ_MATH_REGION3_HH_
18 #define GZ_MATH_REGION3_HH_
27 #include <gz/math/config.hh>
32 inline namespace GZ_MATH_VERSION_NAMESPACE {
63 : ix(
std::move(_ix)), iy(
std::move(_iy)), iz(
std::move(_iz))
77 T _xLeft, T _yLeft, T _zLeft,
78 T _xRight, T _yRight, T _zRight)
95 T _xLeft, T _yLeft, T _zLeft,
96 T _xRight, T _yRight, T _zRight)
121 return this->ix.Empty() || this->iy.Empty() || this->iz.Empty();
129 return (this->ix.Contains(_point.
X()) &&
130 this->iy.Contains(_point.
Y()) &&
131 this->iz.Contains(_point.
Z()));
139 return (this->ix.Contains(_other.ix) &&
140 this->iy.Contains(_other.iy) &&
141 this->iz.Contains(_other.iz));
149 return (this->ix.Intersects(_other.ix) &&
150 this->iy.Intersects(_other.iy) &&
151 this->iz.Intersects(_other.iz));
159 return this->Contains(_other) && _other.
Contains(*
this);
167 return !this->Contains(_other) || !_other.
Contains(*
this);
177 return _out <<_r.ix <<
" x " << _r.iy <<
" x " << _r.iz;
190 constexpr Region3<T> gUnboundedRegion3(