Converts a Freeform Surface into Polygons (polygons.c)

This true filter reads a single surface from stdin and dumps out a polygonal approximation of it to stdout. They are several parameters that controls the way a surface is approximated into polygons and in this simple filter they are being held fixed in a set of integer variables.

\begin{center}\vbox{\input{cexample/polygons.tex}
}\end{center}