G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsBoundingBox.h
Go to the documentation of this file.
1
14#ifndef _BOUNDINGBOX_H_
15#define _BOUNDINGBOX_H_
16
18
19namespace gismo {
20
21
22template <class T>
23class gsBoundingBox {
24public:
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.
The G+Smo namespace, containing all definitions for the library.