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.0.1717 (2.4.0.1717)

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
)

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