20 #include <boost/algorithm/string.hpp> 29 namespace CoordinateSystems
37 std::unique_ptr<Interface>
40 std::string feature_name = boost::algorithm::to_lower_copy(name);
41 boost::algorithm::trim(feature_name);
42 if (feature_name ==
"cartesian")
43 return std::make_unique<CoordinateSystems::Cartesian>();
#define WBAssertThrow(condition, message)
std::unique_ptr< Interface > create_coordinate_system(const std::string name)