helper methods for setting polygonApproximationFactor in Contour