Click or drag to resize

Cv2MinEnclosingTriangle Method (InputArray, OutputArray)

Finds a triangle of minimum area enclosing a 2D point set and returns its area.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static double MinEnclosingTriangle(
	InputArray points,
	OutputArray triangle
)

Parameters

points
Type: OpenCvSharpInputArray
Input vector of 2D points with depth CV_32S or CV_32F, stored in std::vector or Mat
triangle
Type: OpenCvSharpOutputArray
Output vector of three 2D points defining the vertices of the triangle. The depth

Return Value

Type: Double
Triangle area
See Also