diff --git a/owlps-positioner/result.hh b/owlps-positioner/result.hh index 3765b8f..626a64f 100644 --- a/owlps-positioner/result.hh +++ b/owlps-positioner/result.hh @@ -58,6 +58,8 @@ public: /** @name Write accessors */ //@{ + /// Sets the position + void set_position(const Point3D &_position) ; /// Computes the distance between #position and `real_position` void compute_error(const Point3D &real_position) ; //@} @@ -109,6 +111,16 @@ inline float Result::get_error() const +/* *** Write accessors *** */ + + +inline void Result::set_position(const Point3D &_position) +{ + position = _position ; +} + + + /* *** Operators *** */