\section{lib/pathplan/visibility.c File Reference}
\label{visibility_8c}\index{lib/pathplan/visibility.\-c@{lib/pathplan/visibility.\-c}}
{\ttfamily \#include \char`\"{}vis.\-h\char`\"{}}\\*
Include dependency graph for visibility.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{visibility_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf I\-N\-T\-E\-R\-S\-E\-C\-T}(a, b, c, d, e)~{\bf intersect}((a),(b),(c),(d))
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf C\-O\-O\-R\-D} {\bf area2} ({\bf Ppoint\-\_\-t} a, {\bf Ppoint\-\_\-t} b, {\bf Ppoint\-\_\-t} c)
\item 
{\bf int} {\bf wind} ({\bf Ppoint\-\_\-t} a, {\bf Ppoint\-\_\-t} b, {\bf Ppoint\-\_\-t} c)
\item 
{\bf int} {\bf in\-Between} ({\bf Ppoint\-\_\-t} a, {\bf Ppoint\-\_\-t} b, {\bf Ppoint\-\_\-t} c)
\item 
{\bf int} {\bf intersect} ({\bf Ppoint\-\_\-t} a, {\bf Ppoint\-\_\-t} b, {\bf Ppoint\-\_\-t} c, {\bf Ppoint\-\_\-t} d)
\item 
{\bf C\-O\-O\-R\-D} {\bf dist2} ({\bf Ppoint\-\_\-t} a, {\bf Ppoint\-\_\-t} b)
\item 
void {\bf visibility} ({\bf vconfig\-\_\-t} $\ast$conf)
\item 
{\bf C\-O\-O\-R\-D} $\ast$ {\bf pt\-Vis} ({\bf vconfig\-\_\-t} $\ast$conf, {\bf int} pp, {\bf Ppoint\-\_\-t} p)
\item 
{\bf int} {\bf direct\-Vis} ({\bf Ppoint\-\_\-t} p, {\bf int} pp, {\bf Ppoint\-\_\-t} q, {\bf int} qp, {\bf vconfig\-\_\-t} $\ast$conf)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{visibility.\-c@{visibility.\-c}!I\-N\-T\-E\-R\-S\-E\-C\-T@{I\-N\-T\-E\-R\-S\-E\-C\-T}}
\index{I\-N\-T\-E\-R\-S\-E\-C\-T@{I\-N\-T\-E\-R\-S\-E\-C\-T}!visibility.c@{visibility.\-c}}
\subsubsection[{I\-N\-T\-E\-R\-S\-E\-C\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-N\-T\-E\-R\-S\-E\-C\-T(
\begin{DoxyParamCaption}
\item[{}]{a, }
\item[{}]{b, }
\item[{}]{c, }
\item[{}]{d, }
\item[{}]{e}
\end{DoxyParamCaption}
)~{\bf intersect}((a),(b),(c),(d))}\label{visibility_8c_a2c53cde48737cb414c228a98ffff3b7a}


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



Referenced by direct\-Vis().



\subsection{Function Documentation}
\index{visibility.\-c@{visibility.\-c}!area2@{area2}}
\index{area2@{area2}!visibility.c@{visibility.\-c}}
\subsubsection[{area2}]{\setlength{\rightskip}{0pt plus 5cm}{\bf C\-O\-O\-R\-D} area2 (
\begin{DoxyParamCaption}
\item[{{\bf Ppoint\-\_\-t}}]{a, }
\item[{{\bf Ppoint\-\_\-t}}]{b, }
\item[{{\bf Ppoint\-\_\-t}}]{c}
\end{DoxyParamCaption}
)}\label{visibility_8c_a8b7efe8994cd5e5cdfc566ae76b32f49}


Definition at line 56 of file visibility.\-c.



References Pxy\-\_\-t\-::x, and Pxy\-\_\-t\-::y.

\index{visibility.\-c@{visibility.\-c}!direct\-Vis@{direct\-Vis}}
\index{direct\-Vis@{direct\-Vis}!visibility.c@{visibility.\-c}}
\subsubsection[{direct\-Vis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} direct\-Vis (
\begin{DoxyParamCaption}
\item[{{\bf Ppoint\-\_\-t}}]{p, }
\item[{{\bf int}}]{pp, }
\item[{{\bf Ppoint\-\_\-t}}]{q, }
\item[{{\bf int}}]{qp, }
\item[{{\bf vconfig\-\_\-t} $\ast$}]{conf}
\end{DoxyParamCaption}
)}\label{visibility_8c_a16e8b30d59a5a2018653a43a4d10651a}


Definition at line 400 of file visibility.\-c.



References I\-N\-T\-E\-R\-S\-E\-C\-T, vconfig\-\_\-s\-::\-N, vconfig\-\_\-s\-::next, vconfig\-\_\-s\-::\-P, s1(), and vconfig\-\_\-s\-::start.



Referenced by make\-Path().

\index{visibility.\-c@{visibility.\-c}!dist2@{dist2}}
\index{dist2@{dist2}!visibility.c@{visibility.\-c}}
\subsubsection[{dist2}]{\setlength{\rightskip}{0pt plus 5cm}{\bf C\-O\-O\-R\-D} dist2 (
\begin{DoxyParamCaption}
\item[{{\bf Ppoint\-\_\-t}}]{a, }
\item[{{\bf Ppoint\-\_\-t}}]{b}
\end{DoxyParamCaption}
)}\label{visibility_8c_aee15a58af0e61b080b8caba727910493}


Definition at line 213 of file visibility.\-c.



References Pxy\-\_\-t\-::x, and Pxy\-\_\-t\-::y.



Referenced by add\-Edge\-Labels(), and box\-\_\-connection().

\index{visibility.\-c@{visibility.\-c}!in\-Between@{in\-Between}}
\index{in\-Between@{in\-Between}!visibility.c@{visibility.\-c}}
\subsubsection[{in\-Between}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} in\-Between (
\begin{DoxyParamCaption}
\item[{{\bf Ppoint\-\_\-t}}]{a, }
\item[{{\bf Ppoint\-\_\-t}}]{b, }
\item[{{\bf Ppoint\-\_\-t}}]{c}
\end{DoxyParamCaption}
)}\label{visibility_8c_ab40d774f42295285853162411e7b6962}


Definition at line 92 of file visibility.\-c.



References Pxy\-\_\-t\-::x, and Pxy\-\_\-t\-::y.



Referenced by intersect().

\index{visibility.\-c@{visibility.\-c}!intersect@{intersect}}
\index{intersect@{intersect}!visibility.c@{visibility.\-c}}
\subsubsection[{intersect}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} intersect (
\begin{DoxyParamCaption}
\item[{{\bf Ppoint\-\_\-t}}]{a, }
\item[{{\bf Ppoint\-\_\-t}}]{b, }
\item[{{\bf Ppoint\-\_\-t}}]{c, }
\item[{{\bf Ppoint\-\_\-t}}]{d}
\end{DoxyParamCaption}
)}\label{visibility_8c_a6f064bbfb025ac30fa00fda1980087e3}


Definition at line 153 of file visibility.\-c.



References in\-Between(), and wind().

\index{visibility.\-c@{visibility.\-c}!pt\-Vis@{pt\-Vis}}
\index{pt\-Vis@{pt\-Vis}!visibility.c@{visibility.\-c}}
\subsubsection[{pt\-Vis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf C\-O\-O\-R\-D}$\ast$ pt\-Vis (
\begin{DoxyParamCaption}
\item[{{\bf vconfig\-\_\-t} $\ast$}]{conf, }
\item[{{\bf int}}]{pp, }
\item[{{\bf Ppoint\-\_\-t}}]{p}
\end{DoxyParamCaption}
)}\label{visibility_8c_aac0c0dae61e6e0ab6f60f0399f21ee10}


Definition at line 339 of file visibility.\-c.



References dist(), vconfig\-\_\-s\-::\-N, vconfig\-\_\-s\-::next, vconfig\-\_\-s\-::\-P, P\-O\-L\-Y\-I\-D\-\_\-\-U\-N\-K\-N\-O\-W\-N, vconfig\-\_\-s\-::prev, and vconfig\-\_\-s\-::start.



Referenced by Pobspath().

\index{visibility.\-c@{visibility.\-c}!visibility@{visibility}}
\index{visibility@{visibility}!visibility.c@{visibility.\-c}}
\subsubsection[{visibility}]{\setlength{\rightskip}{0pt plus 5cm}void visibility (
\begin{DoxyParamCaption}
\item[{{\bf vconfig\-\_\-t} $\ast$}]{conf}
\end{DoxyParamCaption}
)}\label{visibility_8c_a750b8179c8f2f32bc1b44ab5687afb33}


Definition at line 305 of file visibility.\-c.



References vconfig\-\_\-s\-::\-N, and vconfig\-\_\-s\-::vis.



Referenced by Pobsopen().

\index{visibility.\-c@{visibility.\-c}!wind@{wind}}
\index{wind@{wind}!visibility.c@{visibility.\-c}}
\subsubsection[{wind}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} wind (
\begin{DoxyParamCaption}
\item[{{\bf Ppoint\-\_\-t}}]{a, }
\item[{{\bf Ppoint\-\_\-t}}]{b, }
\item[{{\bf Ppoint\-\_\-t}}]{c}
\end{DoxyParamCaption}
)}\label{visibility_8c_a6c50bc090986eeaa8247896833c117b4}


Definition at line 65 of file visibility.\-c.



References Pxy\-\_\-t\-::x, and Pxy\-\_\-t\-::y.



Referenced by in\-\_\-poly(), and intersect().

