cast coordinates from a string to a coordinate type By default it uses lexical_cast. More...
#include <coordinate_cast.hpp>
Static Public Member Functions | |
static CoordinateType | apply (std::string const &source) |
cast coordinates from a string to a coordinate type By default it uses lexical_cast.
However, lexical_cast seems not to support ttmath / partial specializations. Therefore this small utility is added. See also "define_pi" where the same issue is solved
|
inlinestatic |
References boost::lexical_cast(), and boost::source().
Referenced by boost::geometry::detail::wkt::parsing_assigner< Point, Dimension, DimensionCount >::apply().