\section{lib/common/geomprocs.h File Reference}
\label{geomprocs_8h}\index{lib/common/geomprocs.\-h@{lib/common/geomprocs.\-h}}
{\ttfamily \#include \char`\"{}geom.\-h\char`\"{}}\\*
Include dependency graph for geomprocs.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=170pt]{geomprocs_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{geomprocs_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf box} {\bf mkbox} ({\bf point} p, {\bf point} q)
\item 
{\bf boxf} {\bf mkboxf} ({\bf pointf} p, {\bf pointf} q)
\item 
{\bf box} {\bf flip\-\_\-rec\-\_\-box} ({\bf box} b, {\bf point} p)
\item 
{\bf boxf} {\bf flip\-\_\-rec\-\_\-boxf} ({\bf boxf} b, {\bf pointf} p)
\item 
double {\bf pt\-To\-Line2} ({\bf pointf} l1, {\bf pointf} l2, {\bf pointf} p)
\item 
{\bf int} {\bf line\-To\-Box} ({\bf pointf} p1, {\bf pointf} p2, {\bf boxf} b)
\item 
{\bf point} {\bf ccwrotatep} ({\bf point} p, {\bf int} ccwrot)
\item 
{\bf pointf} {\bf ccwrotatepf} ({\bf pointf} p, {\bf int} ccwrot)
\item 
{\bf point} {\bf cwrotatep} ({\bf point} p, {\bf int} cwrot)
\item 
{\bf pointf} {\bf cwrotatepf} ({\bf pointf} p, {\bf int} cwrot)
\item 
void {\bf rect2poly} ({\bf pointf} $\ast$p)
\item 
{\bf int} {\bf line\-\_\-intersect} ({\bf pointf} a, {\bf pointf} b, {\bf pointf} c, {\bf pointf} d, {\bf pointf} $\ast$p)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{geomprocs.\-h@{geomprocs.\-h}!ccwrotatep@{ccwrotatep}}
\index{ccwrotatep@{ccwrotatep}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{ccwrotatep}]{\setlength{\rightskip}{0pt plus 5cm}{\bf point} ccwrotatep (
\begin{DoxyParamCaption}
\item[{{\bf point}}]{p, }
\item[{{\bf int}}]{ccwrot}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_a4c3bdf62abacddbbedc197ae5232498c}


Definition at line 292 of file geom.\-c.



References ccwrotatep(), cwrotatep(), point\-::x, and point\-::y.



Referenced by ccwrotatep(), and cwrotatep().

\index{geomprocs.\-h@{geomprocs.\-h}!ccwrotatepf@{ccwrotatepf}}
\index{ccwrotatepf@{ccwrotatepf}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{ccwrotatepf}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pointf} ccwrotatepf (
\begin{DoxyParamCaption}
\item[{{\bf pointf}}]{p, }
\item[{{\bf int}}]{ccwrot}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_ab4efb9cb00de84b0635a7af7e0909258}


Definition at line 320 of file geom.\-c.



References ccwrotatepf(), cwrotatepf(), pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.



Referenced by ccwrotatepf(), and cwrotatepf().

\index{geomprocs.\-h@{geomprocs.\-h}!cwrotatep@{cwrotatep}}
\index{cwrotatep@{cwrotatep}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{cwrotatep}]{\setlength{\rightskip}{0pt plus 5cm}{\bf point} cwrotatep (
\begin{DoxyParamCaption}
\item[{{\bf point}}]{p, }
\item[{{\bf int}}]{cwrot}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_a1847c60215faab7d582d9d550e508a7f}


Definition at line 236 of file geom.\-c.



References ccwrotatep(), cwrotatep(), point\-::x, and point\-::y.



Referenced by ccwrotatep(), and cwrotatep().

\index{geomprocs.\-h@{geomprocs.\-h}!cwrotatepf@{cwrotatepf}}
\index{cwrotatepf@{cwrotatepf}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{cwrotatepf}]{\setlength{\rightskip}{0pt plus 5cm}{\bf pointf} cwrotatepf (
\begin{DoxyParamCaption}
\item[{{\bf pointf}}]{p, }
\item[{{\bf int}}]{cwrot}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_ad1bab58bc928ac4c3b451ef95f166f3f}


Definition at line 264 of file geom.\-c.



References ccwrotatepf(), cwrotatepf(), pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.



Referenced by ccwrotatepf(), and cwrotatepf().

\index{geomprocs.\-h@{geomprocs.\-h}!flip\-\_\-rec\-\_\-box@{flip\-\_\-rec\-\_\-box}}
\index{flip\-\_\-rec\-\_\-box@{flip\-\_\-rec\-\_\-box}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{flip\-\_\-rec\-\_\-box}]{\setlength{\rightskip}{0pt plus 5cm}{\bf box} flip\-\_\-rec\-\_\-box (
\begin{DoxyParamCaption}
\item[{{\bf box}}]{b, }
\item[{{\bf point}}]{p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{geomprocs_8h_a2776f05262c50b264cae4c3a18b410bc}


Definition at line 348 of file geom.\-c.



References box\-::\-L\-L, box\-::\-U\-R, point\-::x, and point\-::y.

\index{geomprocs.\-h@{geomprocs.\-h}!flip\-\_\-rec\-\_\-boxf@{flip\-\_\-rec\-\_\-boxf}}
\index{flip\-\_\-rec\-\_\-boxf@{flip\-\_\-rec\-\_\-boxf}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{flip\-\_\-rec\-\_\-boxf}]{\setlength{\rightskip}{0pt plus 5cm}{\bf boxf} flip\-\_\-rec\-\_\-boxf (
\begin{DoxyParamCaption}
\item[{{\bf boxf}}]{b, }
\item[{{\bf pointf}}]{p}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_a374d94fe2fd472952da60b665d997ea3}


Definition at line 364 of file geom.\-c.



References boxf\-::\-L\-L, boxf\-::\-U\-R, pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.

\index{geomprocs.\-h@{geomprocs.\-h}!line\-\_\-intersect@{line\-\_\-intersect}}
\index{line\-\_\-intersect@{line\-\_\-intersect}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{line\-\_\-intersect}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} line\-\_\-intersect (
\begin{DoxyParamCaption}
\item[{{\bf pointf}}]{a, }
\item[{{\bf pointf}}]{b, }
\item[{{\bf pointf}}]{c, }
\item[{{\bf pointf}}]{d, }
\item[{{\bf pointf} $\ast$}]{p}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_ae3e676469f6cee7013e6108371536972}


Definition at line 407 of file geom.\-c.



References dot, and S\-M\-A\-L\-L.

\index{geomprocs.\-h@{geomprocs.\-h}!line\-To\-Box@{line\-To\-Box}}
\index{line\-To\-Box@{line\-To\-Box}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{line\-To\-Box}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} line\-To\-Box (
\begin{DoxyParamCaption}
\item[{{\bf pointf}}]{p1, }
\item[{{\bf pointf}}]{p2, }
\item[{{\bf boxf}}]{b}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_a4688156849f568f7e47f0ffaba966026}


Definition at line 89 of file geom.\-c.



References boxf\-::\-L\-L, boxf\-::\-U\-R, pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.

\index{geomprocs.\-h@{geomprocs.\-h}!mkbox@{mkbox}}
\index{mkbox@{mkbox}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{mkbox}]{\setlength{\rightskip}{0pt plus 5cm}{\bf box} mkbox (
\begin{DoxyParamCaption}
\item[{{\bf point}}]{p, }
\item[{{\bf point}}]{q}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_a3750d6860dc761b31b2d99bef096edaf}


Definition at line 25 of file geom.\-c.



References box\-::\-L\-L, box\-::\-U\-R, point\-::x, and point\-::y.

\index{geomprocs.\-h@{geomprocs.\-h}!mkboxf@{mkboxf}}
\index{mkboxf@{mkboxf}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{mkboxf}]{\setlength{\rightskip}{0pt plus 5cm}{\bf boxf} mkboxf (
\begin{DoxyParamCaption}
\item[{{\bf pointf}}]{p, }
\item[{{\bf pointf}}]{q}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_a1923e12c9243aad866f5e0367a8067fc}


Definition at line 46 of file geom.\-c.



References boxf\-::\-L\-L, boxf\-::\-U\-R, pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.

\index{geomprocs.\-h@{geomprocs.\-h}!pt\-To\-Line2@{pt\-To\-Line2}}
\index{pt\-To\-Line2@{pt\-To\-Line2}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{pt\-To\-Line2}]{\setlength{\rightskip}{0pt plus 5cm}double pt\-To\-Line2 (
\begin{DoxyParamCaption}
\item[{{\bf pointf}}]{l1, }
\item[{{\bf pointf}}]{l2, }
\item[{{\bf pointf}}]{p}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_add4c668a0feebaf2cfae6f21e7cb9429}


Definition at line 390 of file geom.\-c.



References S\-M\-A\-L\-L, pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.

\index{geomprocs.\-h@{geomprocs.\-h}!rect2poly@{rect2poly}}
\index{rect2poly@{rect2poly}!geomprocs.h@{geomprocs.\-h}}
\subsubsection[{rect2poly}]{\setlength{\rightskip}{0pt plus 5cm}void rect2poly (
\begin{DoxyParamCaption}
\item[{{\bf pointf} $\ast$}]{p}
\end{DoxyParamCaption}
)}\label{geomprocs_8h_a7ebd11284fc12dcacc9691d82660b412}


Definition at line 201 of file geom.\-c.



References pointf\-\_\-s\-::x, and pointf\-\_\-s\-::y.



Referenced by emit\-\_\-map\-\_\-rect().

