Skip to content
Snippets Groups Projects
Commit c68d88c1 authored by Tom Fischer's avatar Tom Fischer
Browse files

[TemplatePoint]

- removed method write()

- added template classes Grid and OctTree for efficiently searching in point sets

removed
parent 3c40aff4
No related branches found
No related tags found
No related merge requests found
...@@ -72,15 +72,6 @@ public: ...@@ -72,15 +72,6 @@ public:
os << _x[0] << " " << _x[1] << " " << _x[2] << std::flush; 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>>) */ /** read point coordinates into stream (used from operator>>) */
virtual void read (std::istream &is) { virtual void read (std::istream &is) {
is >> _x[0] >> _x[1] >> _x[2]; is >> _x[0] >> _x[1] >> _x[2];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment