geometry/test/algorithms/from_wkt.hpp
Menelaos Karavelas 773331f6d9 implementation of follower for linear geometries;
added test files for difference of linear geometries;
2014-02-11 10:37:45 +02:00

15 lines
338 B
C++

#ifndef BOOST_GEOMETRY_TEST_MYSQL_FROM_WKT_HPP
#define BOOST_GEOMETRY_TEST_MYSQL_FROM_WKT_HPP
#include <boost/geometry/io/wkt/read.hpp>
template <typename Geometry>
Geometry from_wkt(std::string const& wkt)
{
Geometry res;
boost::geometry::read_wkt(wkt, res);
return res;
}
#endif // BOOST_GEOMETRY_TEST_MYSQL_FROM_WKT_HPP