of.geometry.polygon
===================
.. raw:: html
.. role:: red
.. role:: blue
**of.**\ :red:`geometry.polygon` :blue:`*geometry_tag*` :blue:`*region*`
Create a geometry by assign the N … of the polygon. The polygon will be closed.
**Parameters:**
**geometry_tag:** tag of the geometry group
**region:** Define the points on the polygon: N, [x0,y0] [x1,y1], [x2,y2], [x3, y3]…
|
Example:
--------------------------------------------------------------------
.. code-block::
of.geometry.polygon [rock] size 4 [-1 -1] [1,-1] [1,1] [-1,1]