Click or drag to resize
CvInvokeRotatedRectangleIntersection Method
http://www.emgu.com
Finds out if there is any intersection between two rotated rectangles.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static RectIntersectType RotatedRectangleIntersection(
	RotatedRect rect1,
	RotatedRect rect2,
	IOutputArray intersectingRegion
)

Parameters

rect1
Type: Emgu.CV.StructureRotatedRect
First rectangle
rect2
Type: Emgu.CV.StructureRotatedRect
Second rectangle
intersectingRegion
Type: Emgu.CVIOutputArray
The output array of the verticies of the intersecting region. It returns at most 8 vertices. Stored as VectorOfPointF or Mat as Mx1 of type CV_32FC2.

Return Value

Type: RectIntersectType
The intersect type
See Also