Finds minimum area rectangle that contains both input rectangles inside

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public static Rectangle cvMaxRect(
	ref Rectangle rect1,
	ref Rectangle rect2
)
Visual Basic (Declaration)
Public Shared Function cvMaxRect ( _
	ByRef rect1 As Rectangle, _
	ByRef rect2 As Rectangle _
) As Rectangle
Visual C++
public:
static Rectangle cvMaxRect(
	Rectangle% rect1, 
	Rectangle% rect2
)

Parameters

rect1
Type: System.Drawing..::.Rectangle %
First rectangle
rect2
Type: System.Drawing..::.Rectangle %
Second rectangle

Return Value

The minimum area rectangle that contains both input rectangles inside

See Also