[Positioner] Add Result::set_position()

This commit is contained in:
Matteo Cypriani 2014-05-12 19:41:38 -04:00
parent 1a40fe3366
commit f38527cd93
1 changed files with 12 additions and 0 deletions

View File

@ -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 *** */