Approximates contour or a curve using Douglas-Peucker algorithm.
            The input is the polygon or curve to approximate and 
            it must be 1 x N or N x 1 matrix of type CV_32SC2 or CV_32FC2.
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic Mat ApproxPolyDP(
	double epsilon,
	bool closed
)
Public Function ApproxPolyDP ( 
	epsilon As Double,
	closed As Boolean
) As Mat
public:
Mat^ ApproxPolyDP(
	double epsilon, 
	bool closed
)
member ApproxPolyDP : 
        epsilon : float * 
        closed : bool -> Mat 
function ApproxPolyDP(epsilon, closed);
Parameters
- epsilon
- Type: SystemDouble
 Specifies the approximation accuracy. 
            This is the maximum distance between the original curve and its approximation.
- closed
- Type: SystemBoolean
 The result of the approximation; 
            The type should match the type of the input curve
Return Value
Type: 
MatThe result of the approximation; 
            The type should match the type of the input curve
 See Also
See Also