Beispiel #1
0
 result_type operator() (line_string<T> const& line) const
 {
     if (line.empty())
     {
         // Prevent an empty line_string from segfaulting in boost geometry 1.58
         // once it is fixed this can be removed
         // https://svn.boost.org/trac/boost/ticket/11709
         return true;
     }
     return boost::geometry::is_simple(line);
 }