.. _geometry-example:

#################################
Geometry: Create a Geometry Model 
#################################

The :class:`geometry model <cee::geo::GeometryModel>` offers optimized part drawing with different parts and effects.

This example creates two triangle parts and two polyline parts. The second triangle and the 
second polyline will have the halo effect applied.

.. image:: ../images/tut_geometrymodel.png
    :height: 300 
    :align: center


.. literalinclude:: ../../../../EnvisionDesktop/Tutorials/GeometryModel.cpp
    :language: cpp
    :lines: 39-180