Emgu CV Library Documentation
cvApproxPoly Method (src_seq, header_size, storage, method, parameter, parameter2)
NamespacesEmgu.CVCvInvokecvApproxPoly(IntPtr, Int32, IntPtr, APPROX_POLY_TYPE, Double, Int32)

www.emgu.com/wiki
Approximates one or more curves and returns the approximation result[s]. In case of multiple curves approximation the resultant tree will have the same structure as the input one (1:1 correspondence).
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvApproxPoly(
	IntPtr src_seq,
	int header_size,
	IntPtr storage,
	APPROX_POLY_TYPE method,
	double parameter,
	int parameter2
)
Public Shared Function cvApproxPoly ( _
	src_seq As IntPtr, _
	header_size As Integer, _
	storage As IntPtr, _
	method As APPROX_POLY_TYPE, _
	parameter As Double, _
	parameter2 As Integer _
) As IntPtr
public:
static IntPtr cvApproxPoly(
	IntPtr src_seq, 
	int header_size, 
	IntPtr storage, 
	APPROX_POLY_TYPE method, 
	double parameter, 
	int parameter2
)
Parameters
src_seq (IntPtr)
Sequence of array of points
header_size (Int32)
Header size of approximated curve[s].
storage (IntPtr)
Container for approximated contours. If it is NULL, the input sequences' storage is used
method (APPROX_POLY_TYPE)
Approximation method
parameter (Double)
Desired approximation accuracy
parameter2 (Int32)
If case if src_seq is sequence it means whether the single sequence should be approximated or all sequences on the same level or below src_seq (see cvFindContours for description of hierarchical contour structures). And if src_seq is array (CvMat*) of points, the parameter specifies whether the curve is closed (parameter2!=0) or not (parameter2=0).
Return Value
the approximation result

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)