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

[MaL] Impl. non-const version of TemplatePoint::getCoords().

This helps to omit const_casts when the point
coordinates needs to be modified.
parent fe3ad6ed
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,8 @@ public: ...@@ -79,6 +79,8 @@ public:
return _x.data(); return _x.data();
} }
T* getCoords() { return _x.data(); }
/** write point coordinates into stream (used from operator<<) /** write point coordinates into stream (used from operator<<)
* \param os a standard output stream * \param os a standard output stream
*/ */
......
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