Emgu CV Library Documentation
ApproxPoly Method (accuracy, maxLevel, storage)
NamespacesEmgu.CVContour<(Of <(T>)>)ApproxPoly(Double, Int32, MemStorage)

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 Contour<T> ApproxPoly(
	double accuracy,
	int maxLevel,
	MemStorage storage
)
Public Function ApproxPoly ( _
	accuracy As Double, _
	maxLevel As Integer, _
	storage As MemStorage _
) As Contour(Of T)
public:
Contour<T>^ ApproxPoly(
	double accuracy, 
	int maxLevel, 
	MemStorage^ storage
)
Parameters
accuracy (Double)
The desired approximation accuracy
maxLevel (Int32)
Maximal level for contour approximation. If 0, only contour is arrpoximated. If 1, the contour and all contours after it on the same level are approximated. If 2, all contours after and all contours one level below the contours are approximated, etc. If the value is negative, the function does not draw the contours following after contour but draws child contours of contour up to abs(maxLevel)-1 level
storage (MemStorage)
The storage the resulting sequence use
Return Value
The approximated contour

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