\hypertarget{class_c_i_f_1_1_polygon}{}\section{Polygon Class Reference}
\label{class_c_i_f_1_1_polygon}\index{Polygon@{Polygon}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_c_i_f_1_1_polygon_ab3047469780327f18539907e1303ea15}{add\+Point}} (long, long)
\begin{DoxyCompactList}\small\item\em adds a point to the polygon. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_c_i_f_1_1_polygon_a07683a8a7dea6f09aba6997cc99fff5a}{Polygon}} (long)
\begin{DoxyCompactList}\small\item\em creates a new \mbox{\hyperlink{class_c_i_f_1_1_polygon}{Polygon}}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class describes a polygon shape, which consists in a set of points (ie (x,y) pair). 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_c_i_f_1_1_polygon_a07683a8a7dea6f09aba6997cc99fff5a}\label{class_c_i_f_1_1_polygon_a07683a8a7dea6f09aba6997cc99fff5a}} 
\index{C\+I\+F\+::\+Polygon@{C\+I\+F\+::\+Polygon}!Polygon@{Polygon}}
\index{Polygon@{Polygon}!C\+I\+F\+::\+Polygon@{C\+I\+F\+::\+Polygon}}
\subsubsection{\texorpdfstring{Polygon()}{Polygon()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_c_i_f_1_1_polygon}{Polygon}} (\begin{DoxyParamCaption}\item[{long}]{layer }\end{DoxyParamCaption})}



creates a new \mbox{\hyperlink{class_c_i_f_1_1_polygon}{Polygon}}. 


\begin{DoxyParams}{Parameters}
{\em layer} & the layer on which the polygon is created. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_c_i_f_1_1_polygon_ab3047469780327f18539907e1303ea15}\label{class_c_i_f_1_1_polygon_ab3047469780327f18539907e1303ea15}} 
\index{C\+I\+F\+::\+Polygon@{C\+I\+F\+::\+Polygon}!add\+Point@{add\+Point}}
\index{add\+Point@{add\+Point}!C\+I\+F\+::\+Polygon@{C\+I\+F\+::\+Polygon}}
\subsubsection{\texorpdfstring{add\+Point()}{addPoint()}}
{\footnotesize\ttfamily void add\+Point (\begin{DoxyParamCaption}\item[{long}]{x,  }\item[{long}]{y }\end{DoxyParamCaption})}



adds a point to the polygon. 


\begin{DoxyParams}{Parameters}
{\em x} & the x coordinate of the point. \\
\hline
{\em y} & the y coordinate of the point. \\
\hline
\end{DoxyParams}
