7 #ifndef cf3_math_BoundingBox_hpp
8 #define cf3_math_BoundingBox_hpp
29 static std::string
type_name() {
return "BoundingBox"; }
46 void define(
const std::vector<Real>&
min,
const std::vector<Real>&
max);
58 bool contains(
const RealVector& coordinate)
const;
73 Uint dim()
const {
return m_bounding_min.size(); }
89 #endif // cf3_math_BoundingBox_hpp
const RealVector & min() const
minimum coordinates, defining one corner of the bounding box
const RealVector & max() const
maximum coordinates, defining one corner of the bounding box
RealVector m_bounding_max
maximum coordinates
RealVector & min()
minimum coordinates, defining one corner of the bounding box
Real max(const Real a, const Real b)
Maximum between two scalars.
RealVector & max()
maximum coordinates, defining one corner of the bounding box
Real min(const Real a, const Real b)
Minimum between two scalars.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealVector
Dynamic sized column vector.
Top-level namespace for coolfluid.
RealVector m_bounding_min
minimum coordinates
static std::string type_name()
Gets the Class name.
unsigned int Uint
typedef for unsigned int
Bounding box defined by minimum and maximum coordinates.
Uint dim() const
dimension of the bounding box