40 #include <visp3/core/vpConfig.h>
41 #include <visp3/core/vpImagePoint.h>
42 #include <visp3/core/vpRect.h>
56 this->i >= rect.
getTop() &&
135 double i1 = ip1.
get_i();
136 double j1 = ip1.
get_j();
137 double i2 = ip2.
get_i();
138 double j2 = ip2.
get_j();
141 ( std::fabs(i1-i2) <= std::fabs(
vpMath::maximum(i1, i2))*std::numeric_limits<double>::epsilon() )
143 ( std::fabs(j1-j2) <= std::fabs(
vpMath::maximum(j1, j2))*std::numeric_limits<double>::epsilon() )
156 double i1 = ip1.
get_i();
157 double j1 = ip1.
get_j();
158 double i2 = ip2.
get_i();
159 double j2 = ip2.
get_j();
162 ( std::fabs(i1-i2) > std::fabs(
vpMath::maximum(i1, i2))*std::numeric_limits<double>::epsilon() )
164 ( std::fabs(j1-j2) > std::fabs(
vpMath::maximum(j1, j2))*std::numeric_limits<double>::epsilon() )
bool inRectangle(const vpRect &rect) const
static vpRect getBBox(const std::vector< vpImagePoint > &ipVec)
vpColVector operator*(const double &x, const vpColVector &v)
vpImagePoint & operator+=(const vpImagePoint &ip)
static Type maximum(const Type &a, const Type &b)
friend std::ostream & operator<<(std::ostream &s, const vpArray2D< Type > &A)
Defines a rectangle in the plane.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
vpImagePoint & operator/=(const double scale)