1 #ifndef MSP_GEOMETRY_BOX_H_
2 #define MSP_GEOMETRY_BOX_H_
10 class Box: public HyperBox<T, 3>
14 explicit Box(const LinAl::Vector<T, 3> &d): HyperBox<T, 3>(d) { }
15 Box(T w, T h, T d): HyperBox<T, 3>(LinAl::Vector<T, 3>(w, h, d)) { }
17 T get_width() const { return this->get_dimension(0); }
18 T get_height() const { return this->get_dimension(1); }
19 T get_depth() const { return this->get_dimension(2); }
22 } // namespace Geometry