From c68d88c165e48115d076fef441314c5cf3a116e4 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Tue, 22 May 2012 14:49:54 +0200 Subject: [PATCH] [TemplatePoint] - removed method write() - added template classes Grid and OctTree for efficiently searching in point sets removed --- GeoLib/TemplatePoint.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/GeoLib/TemplatePoint.h b/GeoLib/TemplatePoint.h index c63b72d20b3..a9d3c74c960 100644 --- a/GeoLib/TemplatePoint.h +++ b/GeoLib/TemplatePoint.h @@ -72,15 +72,6 @@ public: os << _x[0] << " " << _x[1] << " " << _x[2] << std::flush; } - /** - * write point coordinates into string - */ - virtual std::string write () const { - std::ostringstream strStream; - strStream << _x[0] << " " << _x[1] << " " << _x[2]; - return strStream.str(); - } - /** read point coordinates into stream (used from operator>>) */ virtual void read (std::istream &is) { is >> _x[0] >> _x[1] >> _x[2]; -- GitLab