\section{lib/pathplan/triang.c File Reference}
\label{triang_8c}\index{lib/pathplan/triang.\-c@{lib/pathplan/triang.\-c}}
{\ttfamily \#include $<$stdio.\-h$>$}\\*
{\ttfamily \#include $<$math.\-h$>$}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include $<$setjmp.\-h$>$}\\*
{\ttfamily \#include \char`\"{}pathutil.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}tri.\-h\char`\"{}}\\*
Include dependency graph for triang.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{triang_8c__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf lvertex\-\_\-2\-\_\-t}
\item 
struct {\bf dpd\-\_\-triangle}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf I\-S\-C\-C\-W}~1
\item 
\#define {\bf I\-S\-C\-W}~2
\item 
\#define {\bf I\-S\-O\-N}~3
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct {\bf lvertex\-\_\-2\-\_\-t} {\bf lvertex\-\_\-2\-\_\-t}
\item 
typedef struct {\bf dpd\-\_\-triangle} {\bf ltriangle\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf Ptriangulate} ({\bf Ppoly\-\_\-t} $\ast${\bf polygon}, void($\ast$fn)(void $\ast$, {\bf Ppoint\-\_\-t} $\ast$), void $\ast$vc)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{triang.\-c@{triang.\-c}!I\-S\-C\-C\-W@{I\-S\-C\-C\-W}}
\index{I\-S\-C\-C\-W@{I\-S\-C\-C\-W}!triang.c@{triang.\-c}}
\subsubsection[{I\-S\-C\-C\-W}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-S\-C\-C\-W~1}\label{triang_8c_ab2681cc57aa3b7e0e38c8673fe94ac9b}


Definition at line 34 of file triang.\-c.

\index{triang.\-c@{triang.\-c}!I\-S\-C\-W@{I\-S\-C\-W}}
\index{I\-S\-C\-W@{I\-S\-C\-W}!triang.c@{triang.\-c}}
\subsubsection[{I\-S\-C\-W}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-S\-C\-W~2}\label{triang_8c_af2bfb5691275c6fc778626a53a2983eb}


Definition at line 35 of file triang.\-c.

\index{triang.\-c@{triang.\-c}!I\-S\-O\-N@{I\-S\-O\-N}}
\index{I\-S\-O\-N@{I\-S\-O\-N}!triang.c@{triang.\-c}}
\subsubsection[{I\-S\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-S\-O\-N~3}\label{triang_8c_a35f1743beab44d824c8f2cdebf8c8146}


Definition at line 36 of file triang.\-c.



\subsection{Typedef Documentation}
\index{triang.\-c@{triang.\-c}!ltriangle\-\_\-t@{ltriangle\-\_\-t}}
\index{ltriangle\-\_\-t@{ltriangle\-\_\-t}!triang.c@{triang.\-c}}
\subsubsection[{ltriangle\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf dpd\-\_\-triangle}  {\bf ltriangle\-\_\-t}}\label{triang_8c_a354487418047b7ea2ed1b093d170cc9d}
\index{triang.\-c@{triang.\-c}!lvertex\-\_\-2\-\_\-t@{lvertex\-\_\-2\-\_\-t}}
\index{lvertex\-\_\-2\-\_\-t@{lvertex\-\_\-2\-\_\-t}!triang.c@{triang.\-c}}
\subsubsection[{lvertex\-\_\-2\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf lvertex\-\_\-2\-\_\-t}  {\bf lvertex\-\_\-2\-\_\-t}}\label{triang_8c_a5bc5b30ed130acd15800f4eb5b54da48}


\subsection{Function Documentation}
\index{triang.\-c@{triang.\-c}!Ptriangulate@{Ptriangulate}}
\index{Ptriangulate@{Ptriangulate}!triang.c@{triang.\-c}}
\subsubsection[{Ptriangulate}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} Ptriangulate (
\begin{DoxyParamCaption}
\item[{{\bf Ppoly\-\_\-t} $\ast$}]{polygon, }
\item[{void($\ast$)(void $\ast$, {\bf Ppoint\-\_\-t} $\ast$)}]{fn, }
\item[{void $\ast$}]{vc}
\end{DoxyParamCaption}
)}\label{triang_8c_a43d5df46737a549600e58b0dfe7a1d12}


Definition at line 62 of file triang.\-c.



References Ppoly\-\_\-t\-::pn, and Ppoly\-\_\-t\-::ps.

