From d829f721256491604962eaf792f9dec07052b9f1 Mon Sep 17 00:00:00 2001 From: dmatetelki Date: Tue, 26 May 2015 09:59:29 +0200 Subject: [PATCH] removing MarchingSquares::dumpLinesToHtml --- lib/qtgraph/marching_squares.cpp | 21 +-------------------- lib/qtgraph/marching_squares.hpp | 2 -- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/lib/qtgraph/marching_squares.cpp b/lib/qtgraph/marching_squares.cpp index c74a926..87054af 100644 --- a/lib/qtgraph/marching_squares.cpp +++ b/lib/qtgraph/marching_squares.cpp @@ -2,12 +2,9 @@ #include "floats.hpp" -// #include // for strerror needed by png++/error.hpp -#include // for strerror needed by png++/error.hpp +// #include // for strerror needed by png++/error.hpp #include -// #include -#include MarchingSquares::MarchingSquares() @@ -117,19 +114,3 @@ MarchingSquares::RunMarchingSquares() { return lines; } - -std::string -dumpLinesToHtml(const std::vector< std::pair< float2, float2 > >& lines, int w, int h) -{ - std::stringstream ss; - - // dump to HTML/SVG - ss << "" << std::endl; - ss << "" << std::endl; - for (size_t i = 0; i < lines.size(); ++i) { - const std::pair& l = lines[i]; - ss << "\t" << std::endl; - } - ss << "" << std::endl; - return ss.str(); -} diff --git a/lib/qtgraph/marching_squares.hpp b/lib/qtgraph/marching_squares.hpp index 45c8968..f8ac40a 100644 --- a/lib/qtgraph/marching_squares.hpp +++ b/lib/qtgraph/marching_squares.hpp @@ -22,6 +22,4 @@ private: std::vector cells_; }; -std::string dumpLinesToHtml(const std::vector< std::pair >& lines, int w, int h); - #endif // WORLD_WORLD_HPP