ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccInnerRect2DFinder::Rect Struct Reference

2D rectangle More...

#include <ecvInnerRect2DFinder.h>

Public Member Functions

 Rect ()
 
 Rect (double _x0, double _y0, double _x1, double _y1)
 
double width () const
 
double height () const
 
double area () const
 

Public Attributes

double x0
 
double y0
 
double x1
 
double y1
 

Detailed Description

2D rectangle

Constructor & Destructor Documentation

◆ Rect() [1/2]

ccInnerRect2DFinder::Rect::Rect ( )
inline

◆ Rect() [2/2]

ccInnerRect2DFinder::Rect::Rect ( double  _x0,
double  _y0,
double  _x1,
double  _y1 
)
inline

Member Function Documentation

◆ area()

double ccInnerRect2DFinder::Rect::area ( ) const
inline

References height(), and width().

Referenced by ccInnerRect2DFinder::findBiggestRect().

◆ height()

double ccInnerRect2DFinder::Rect::height ( ) const
inline

References y0, and y1.

Referenced by area(), and ccInnerRect2DFinder::process().

◆ width()

double ccInnerRect2DFinder::Rect::width ( ) const
inline

References x0, and x1.

Referenced by area(), and ccInnerRect2DFinder::process().

Member Data Documentation

◆ x0

◆ x1

◆ y0

◆ y1


The documentation for this struct was generated from the following file: