Definition at line 26 of file InterestRectangleZ.h. References Impala::Core::Geometry::Rectangle::mBottom, Impala::Core::Geometry::Rectangle::mLeft, Impala::Core::Geometry::Rectangle::mRight, Impala::Core::Geometry::Rectangle::mTop, Impala::Core::Geometry::InterestPoint::mX, and Impala::Core::Geometry::InterestPoint::mY. 00027 : InterestPoint(), Rectangle(rect) 00028 { 00029 // update X, Y to be the center of the rectangle -> though 00030 // these will not update when you change the rectangle... 00031 mX = static_cast<int>(((mRight - mLeft) / 2.0 + mLeft) + 0.5); 00032 mY = static_cast<int>(((mBottom - mTop) / 2.0 + mTop) + 0.5); 00033 }
|