33 #ifdef OGDF_INCLUDE_CGAL
43 template<
typename Kernel>
44 class Polyline_t :
public std::vector<Point_t<Kernel>> {
48 Bbox b = this->front().bbox();
49 for (
auto& p : *
this) {
55 bool is_degenerate()
const {
56 bool degenerate =
false;
57 for (std::size_t i = 0; i + 1 < this->
size() && !degenerate; ++i) {
58 degenerate = (*this)[i] == (*this)[i + 1];
64 template<
typename kernel>
65 std::ostream&
operator<<(std::ostream& os,
const Polyline_t<kernel>& pl) {