50 #include <visp/vpFeatureBuilder.h>
51 #include <visp/vpFeatureException.h>
52 #include <visp/vpException.h>
117 double rho = sqrt(x*x + y*y);
118 double theta = atan2(y, x);
193 double rho = sqrt(x*x + y*y);
194 double theta = atan2(y, x);
265 double rho = sqrt(x*x + y*y);
266 double theta = atan2(y, x);
301 double x = p.
get_x();
302 double y = p.
get_y();
304 double rho = sqrt(x*x + y*y);
305 double theta = atan2(y, x);
315 std::cout <<
"Z = " << s.
get_Z() << std::endl ;
318 "Point is behind the camera ")) ;
321 if (fabs(s.
get_Z()) < 1e-6) {
323 std::cout <<
"Z = " << s.
get_Z() << std::endl ;
326 "Point Z coordinates is null")) ;
376 double x = p.
get_x();
377 double y = p.
get_y();
385 double rho = sqrt(x*x + y*y);
386 double theta = atan2(y, x);