G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsBoundingBox.h
Go to the documentation of this file.
1 
14 #ifndef _BOUNDINGBOX_H_
15 #define _BOUNDINGBOX_H_
16 
17 #include <gsCore/gsLinearAlgebra.h>
18 
19 namespace gismo {
20 
21 
22 template <class T>
23 class gsBoundingBox {
24 public:
25  gsBoundingBox() { };
26  gsBoundingBox(const gsVector3d<T>& pMin, const gsVector3d<T>& pMax) {
27  this->pMin = pMin;
28  this->pMax = pMax;
29  }
31  gsVector3d<T> pMin, pMax;
32 
34  T getMaxSize() const {return (pMax-pMin).maxCoeff();};
35 };
36 
37 } // namespace gismo
38 
39 #endif
40 
This is the main header file that collects wrappers of Eigen for linear algebra.