.. _polyhedron-example:

####################
Polyhedron
####################

.. image:: ../../../images/vtfx/polyhedron_example.png
    :height: 250px
    :align: center

Small example on creating a polyhedron.

Creates two simple polyhedron elements with a scalar result

.. literalinclude:: ../../../../../../EnvisionDesktop/Examples/VTFx/VTFxPolyhedron/VTFxPolyhedron.cpp
    :language: cpp
    :lines: 54-307

