#### 10.11.6 DrawPoly

• DrawPoly( <convex polyhedron> [, mode, contrast]] )
• Description: permits to draw a <convex polyhedron> in the given <mode> ($0$ by default). Possible mode values are:
• mode 0: the drawing is done edge by edge, hidden edges included (those are drawn using the style HideStyle), no filling,
• mode 1: the drawing is done by visible faces, with filling or not according to the FillStyle attribute, all the facets are then with the same color (FillColor),
• mode 2: the drawing is done like in the mode 1 (visibles faces), then the hidden edges are added,
• mode=3: as in the mode 1 but the fill color is nuanced depending on the exposure of the facets and the <contrast> value,
• mode=4: the drawing is done by visible faces but the fill color of the facets is nuanced depending on the facets exposure and the <contrast> value, then the hidden edges are added.
• The parameter <contrast> is a positive number ($1$ by default), it permits to modify or not the contrast of the color of the facets, the value $0$ will give a solid color like the modes $1$ and $2$.
• The advantage of that macro is that the the edges are managed, that is not the case with the macro DrawFacet.