comparison Core/Images/ImageProcessing.h @ 3265:59a184cbb596

ImagePoint::Set + GetDistanceTo
author Alain Mazy <alain@mazy.be>
date Wed, 20 Feb 2019 14:17:52 +0100
parents 6f652c7bfc85
children ff945b809067
comparison
equal deleted inserted replaced
3264:3af3b74fbd5c 3265:59a184cbb596
53 y_(y) 53 y_(y)
54 { 54 {
55 } 55 }
56 56
57 int32_t GetX() const {return x_;} 57 int32_t GetX() const {return x_;}
58
58 int32_t GetY() const {return y_;} 59 int32_t GetY() const {return y_;}
60
61 void Set(int32_t x, int32_t y)
62 {
63 x_ = x;
64 y_ = y;
65 }
66
67 double GetDistanceTo(const ImagePoint& other) const;
59 }; 68 };
60 69
61 void Copy(ImageAccessor& target, 70 void Copy(ImageAccessor& target,
62 const ImageAccessor& source); 71 const ImageAccessor& source);
63 72