\hypertarget{_comp_geom_8cc}{\section{Core/\-Geometry\-Primitives/\-Comp\-Geom.cc File Reference}
\label{_comp_geom_8cc}\index{Core/\-Geometry\-Primitives/\-Comp\-Geom.\-cc@{Core/\-Geometry\-Primitives/\-Comp\-Geom.\-cc}}
}
{\ttfamily \#include $<$Core/\-Geometry\-Primitives/\-Comp\-Geom.\-h$>$}\\*
{\ttfamily \#include $<$iostream$>$}\\*
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespace_s_c_i_run}{S\-C\-I\-Run}
\begin{DoxyCompactList}\small\item\em S\-T\-L datatypes needed. \end{DoxyCompactList}\item 
\hyperlink{namespace_s_c_i_run_1_1_core}{S\-C\-I\-Run\-::\-Core}
\item 
\hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry}{S\-C\-I\-Run\-::\-Core\-::\-Geometry}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a86c40b48dc635d796f6c661774dcc5a8}{distance\-\_\-to\-\_\-line2} (const Point \&p, const Point \&a, const Point \&b, const double epsilon)
\item 
void \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a8869ff3e34c5934d8ba69a54e1e204e8}{distance\-\_\-to\-\_\-line2\-\_\-aux} (Point \&result, const Point \&p, const Point \&a, const Point \&b, const double epsilon)
\item 
void \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_af5c5c28e2e99589f5da7ac9b5c741bf1}{distance\-\_\-to\-\_\-line2\-\_\-aux} (Point \&result, int \&node, const Point \&p, const Point \&a, const Point \&b, const double epsilon)
\item 
void \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a7f98bf38297a2ce4e944f00a99879ad1}{closest\-\_\-point\-\_\-on\-\_\-tri} (Point \&result, const Point \&orig, const Point \&p0, const Point \&p1, const Point \&p2, const double epsilon)
\item 
void \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a23f0db41dbb85a5e68ceff0ac052ffc3}{closest\-\_\-point\-\_\-on\-\_\-tri} (Point \&result, int \&edge, int \&node, const Point \&orig, const Point \&p0, const Point \&p1, const Point \&p2, const double epsilon)
\item 
void \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a133f58ff9df177ec9ff661b6351e1adb}{est\-\_\-closest\-\_\-point\-\_\-on\-\_\-quad} (Point \&result, const Point \&orig, const Point \&p0, const Point \&p1, const Point \&p2, const Point \&p3, const double epsilon)
\item 
double \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a7c60a1c5e11ec7e2c3ba423ee0865f6a}{Ray\-Plane\-Intersection} (const Point \&p, const Vector \&dir, const Point \&p0, const Vector \&pn, const double epsilon)
\item 
bool \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a1109a5dd544170b79c87c1a663ec64c5}{Ray\-Triangle\-Intersection} (double \&t, double \&u, double \&v, bool backface\-\_\-cull, const Point \&orig, const Vector \&dir, const Point \&p0, const Point \&p1, const Point \&p2, const double epsilon)
\item 
bool \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_af42a3aec5f18997f4940d8003c14591e}{closest\-\_\-line\-\_\-to\-\_\-line} (double \&s, double \&t, const Point \&a0, const Point \&a1, const Point \&b0, const Point \&b1, const double epsilon)
\item 
void \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a0c928499ef31de436d26369cd0d9eff8}{uniform\-\_\-sample\-\_\-triangle} (Point \&p, const Point \&p0, const Point \&p1, const Point \&p2, \hyperlink{class_musil_r_n_g}{Musil\-R\-N\-G} \&rng)
\item 
void \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a634496970f90bace48afcd5d42950cc7}{uniform\-\_\-sample\-\_\-tetrahedra} (Point \&p, const Point \&p0, const Point \&p1, const Point \&p2, const Point \&p3, \hyperlink{class_musil_r_n_g}{Musil\-R\-N\-G} \&rng)
\item 
double \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_a83d612237d8121de72b4885a9875dd95}{tetrahedra\-\_\-volume} (const Point \&p0, const Point \&p1, const Point \&p2, const Point \&p3)
\item 
void \hyperlink{namespace_s_c_i_run_1_1_core_1_1_geometry_aaf985f78e82b433aeb1f399b57076cdd}{Tri\-Tri\-Intersection} (const Point \&A0, const Point \&A1, const Point \&A2, const Point \&B0, const Point \&B1, const Point \&B2, std\-::vector$<$ Point $>$ \&results)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Allen Sanderson S\-C\-I Institute University of Utah 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
August 2005 
\end{DoxyDate}
