40 #ifndef vpImagePoint_H
41 #define vpImagePoint_H
49 #include <visp3/core/vpConfig.h>
50 #include <visp3/core/vpMath.h>
100 inline vpImagePoint(
double ii,
double jj) : i(ii), j(jj) {}
121 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
127 this->i = std::move(ip.i);
128 this->j = std::move(ip.j);
167 inline void set_i(
double ii) { this->i = ii; }
178 inline void set_j(
double jj) { this->j = jj; }
189 inline void set_ij(
double ii,
double jj)
204 inline double get_i()
const {
return i; }
215 inline double get_j()
const {
return j; }
226 inline void set_u(
double u) { j = u; }
237 inline void set_v(
double v) { i = v; }
248 inline void set_uv(
double u,
double v)
263 inline double get_u()
const {
return j; }
274 inline double get_v()
const {
return i; }
290 static vpRect getBBox(
const std::vector<vpImagePoint> &ipVec);
306 bool inRectangle(
const vpRect &rect)
const;
321 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpImagePoint &ip);