16 #ifndef GEOMTOOLS_FACE_INFO_H 17 #define GEOMTOOLS_FACE_INFO_H 1 24 #include <boost/cstdint.hpp> 70 template <
class Shape2D>
73 Shape2D * face_ptr =
new Shape2D;
74 _face_.
reset(face_ptr);
121 template <
class Shape2D>
126 dynamic_cast<const Shape2D &>(_face_.
get());
136 template <
class Shape2D>
139 return dynamic_cast<const Shape2D &>(_face_.
get());
143 template <
class Shape2D>
146 return dynamic_cast<Shape2D &>(_face_.
grab());
153 virtual void tree_dump(std::ostream & out_ = std::clog,
154 const std::string & title_ =
"",
155 const std::string & indent_ =
"",
156 bool inherit_ =
false)
const;
173 const std::string & title_ =
"",
174 const std::string & indent_ =
"");
179 #endif // GEOMTOOLS_FACE_INFO_H