| 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
)
Public Shared Function MinEnclosingTriangle (
points As InputArray,
triangle As OutputArray
) As Double
public:
static double MinEnclosingTriangle(
InputArray^ points,
OutputArray^ triangle
)
static member MinEnclosingTriangle :
points : InputArray *
triangle : OutputArray -> float
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:
DoubleTriangle area
See Also