1 #ifndef VTESTBED_BSP_BOAT_HH 2 #define VTESTBED_BSP_BOAT_HH 8 #include <vtestbed/geometry/rectangle.hh> 9 #include <vtestbed/geometry/types.hh> 20 using vec3 = vtb::geometry::Vertex<T,3>;
21 using vec4 = vtb::geometry::Vertex<T,4>;
36 inline void filename(
const std::string& filename) { this->_filename = filename; }
37 inline const std::string& filename()
const {
return this->_filename; }
39 inline T draught()
const {
return -this->_bounds.min()(2); }
40 inline vec3 dimensions()
const {
return this->_bounds.extent(); }
41 inline const point_array_2d& control_points()
const {
return this->_control_points; }
59 #endif // vim:filetype=cpp