http://www.emgu.com
Finds minimum area rectangle that contains both input rectangles inside

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

Syntax

C#
public static Rectangle cvMaxRect(
	ref Rectangle rect1,
	ref Rectangle rect2
)
Visual Basic
Public Shared Function cvMaxRect ( 
	ByRef rect1 As Rectangle,
	ByRef rect2 As Rectangle
) As Rectangle
Visual C++
public:
static Rectangle cvMaxRect(
	Rectangle% rect1, 
	Rectangle% rect2
)
F#
static member cvMaxRect : 
        rect1 : Rectangle byref * 
        rect2 : Rectangle byref -> Rectangle 

Parameters

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

Return Value

Type: Rectangle
The minimum area rectangle that contains both input rectangles inside

See Also