#include <Shapes.h>
      
        
          | rdf::Rect::Rect  | 
          ( | 
          const QRect &  | 
          rect | ) | 
           | 
        
      
 
 
      
        
          | rdf::Rect::Rect  | 
          ( | 
          const QRectF &  | 
          rect | ) | 
           | 
        
      
 
 
      
        
          | rdf::Rect::Rect  | 
          ( | 
          const cv::Rect &  | 
          rect | ) | 
           | 
        
      
 
 
      
        
          | rdf::Rect::Rect  | 
          ( | 
          double  | 
          x,  | 
        
        
           | 
           | 
          double  | 
          y,  | 
        
        
           | 
           | 
          double  | 
          width,  | 
        
        
           | 
           | 
          double  | 
          height  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | rdf::Rect::Rect  | 
          ( | 
          const cv::Mat &  | 
          img | ) | 
           | 
        
      
 
 
      
        
          | double rdf::Rect::area  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | double rdf::Rect::bottom  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | Vector2D rdf::Rect::bottomLeft  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | Vector2D rdf::Rect::bottomRight  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | bool rdf::Rect::contains  | 
          ( | 
          const Rect &  | 
          o | ) | 
           const | 
        
      
 
 
      
        
          | bool rdf::Rect::contains  | 
          ( | 
          const Vector2D &  | 
          pt | ) | 
           const | 
        
      
 
 
      
        
          | void rdf::Rect::draw  | 
          ( | 
          QPainter &  | 
          p | ) | 
           const | 
        
      
 
 
      
        
          | void rdf::Rect::expand  | 
          ( | 
          double  | 
          v | ) | 
           | 
        
      
 
 
  
  
      
        
          | Rect rdf::Rect::fromPoints  | 
          ( | 
          const QVector< Vector2D > &  | 
          pts | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Returns a bounding rectangle that encloses all points. 
- Parameters
 - 
  
  
 
- Returns
 
 
 
      
        
          | double rdf::Rect::height  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | Rect rdf::Rect::intersected  | 
          ( | 
          const Rect &  | 
          o | ) | 
           const | 
        
      
 
 
      
        
          | bool rdf::Rect::intersects  | 
          ( | 
          const Rect &  | 
          o | ) | 
           const | 
        
      
 
 
      
        
          | bool rdf::Rect::isNull  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | bool rdf::Rect::isProximate  | 
          ( | 
          const Rect &  | 
          o,  | 
        
        
           | 
           | 
          double  | 
          eps = 10.0  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
Returns true if the centers are closer than eps. NOTE: the city block metric is used to compare the centers. 
- Parameters
 - 
  
    | o | The other rect. | 
    | eps | The epsilon region. | 
  
   
- Returns
 true if the specified o is close; otherwise, false. 
 
 
      
        
          | Rect rdf::Rect::joined  | 
          ( | 
          const Rect &  | 
          o | ) | 
           const | 
        
      
 
 
      
        
          | double rdf::Rect::left  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | void rdf::Rect::move  | 
          ( | 
          const Vector2D &  | 
          vec | ) | 
           | 
        
      
 
 
      
        
          | double rdf::Rect::right  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | void rdf::Rect::scale  | 
          ( | 
          double  | 
          factor | ) | 
           | 
        
      
 
 
      
        
          | void rdf::Rect::setSize  | 
          ( | 
          const Vector2D &  | 
          newSize | ) | 
           | 
        
      
 
 
      
        
          | void rdf::Rect::setTopLeft  | 
          ( | 
          const Vector2D &  | 
          topLeft | ) | 
           | 
        
      
 
 
      
        
          | cv::Rect rdf::Rect::toCvRect  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | double rdf::Rect::top  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | QRect rdf::Rect::toQRect  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | QRectF rdf::Rect::toQRectF  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
  
  
      
        
          | QString rdf::Rect::toString  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
      
        
          | double rdf::Rect::width  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
  
  
      
        
          | bool rdf::Rect::mIsNull = true | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: