| 218 | |
| 219 | template <typename Fn, typename... Ts> |
| 220 | std::string capture_output(Fn fn, Ts... ts) { |
| 221 | std::ostringstream oss; |
| 222 | oss << std::setprecision(std::numeric_limits<double>::digits10 + 1); |
| 223 | fn(oss, ts...); |
| 224 | return oss.str(); |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | TtlWktSerializer::TtlWktSerializer(const stream_or_filename& filename, const ifcopenshell::geometry::Settings& geometry_settings, const ifcopenshell::geometry::SerializerSettings& settings) |