40 #ifndef vpImagePoint_H
41 #define vpImagePoint_H
49 #include <visp3/core/vpConfig.h>
120 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
166 inline void set_i(
double ii) { this->i = ii; }
177 inline void set_j(
double jj) { this->j = jj; }
203 inline double get_i()
const {
return i; }
214 inline double get_j()
const {
return j; }
225 inline void set_u(
double u) { j = u; }
236 inline void set_v(
double v) { i = v; }
262 inline double get_u()
const {
return j; }
273 inline double get_v()
const {
return i; }
275 static vpRect getBBox(
const std::vector<vpImagePoint> &ipVec);
280 bool inRectangle(
const vpRect &rect)
const;
295 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpImagePoint &ip);
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
vpImagePoint & operator=(const vpImagePoint &&ip) noexcept
vpImagePoint(double ii, double jj)
vpImagePoint & operator=(const vpImagePoint &ip)
void set_ij(double ii, double jj)
virtual ~vpImagePoint()
Destructor.
void set_uv(double u, double v)
vpImagePoint & operator*=(double scale)
vpImagePoint(const vpImagePoint &ip)
vpImagePoint & operator-=(const vpImagePoint &ip)
Defines a rectangle in the plane.
vpColVector operator*(const double &x, const vpColVector &v)