doc/report/subsections/circles.tex

43 lines
1.9 KiB
TeX

\subsection{Regular mesh}
At the beginning of this part we have a set of 3D splines. We sample this splines and calculate the characteristic circle associated to each sampled point. Then we match the points between successive circles and use a triangular mesh.
\subsubsection{Characteristic circles computation}
We take a point sampled on the spline. It gives us information about the sphere located on this point : $\overrightarrow{C}(t)$ the sphere center coordinates and r(t) its radius. We also have their derivatives : $\overrightarrow{C'}(t)$ and r'(t). The idea is to find the intersection between this sphere and the characteristic plane, which would give us the characteristic circle.
If a point P is on the circle, then we can write the formula \ref{eq1} :
\begin{equation}
<\overrightarrow{C'}(t),\overrightarrow{PC}(t)> -r'(t)r(t) = 0
\label{eq1}
\end{equation}
and then we calculate the center of the characteristic circle with the formula \ref{eq2}:
\begin{equation}
\overrightarrow{Cp}(t) = \overrightarrow{C}(t) - \frac{r'(t)r(t)}{\| \overrightarrow{C'}(t)\| ^{2}} \times \overrightarrow{C'}(t)
\label{eq2}
\end{equation}
\begin{figure}[H]
\begin{center}
\includegraphics[scale=0.8]{img/characteristicCircle}
\caption{\label{initialSchedule} Characteristic circle calculation}
\end{center}
\end{figure}
\subsubsection{Meshing}
After obtaining characteristic circles we sample them.
Then we need to find matching points. We decided to make points sampling start in one direction of our mark.
When this is done we project the mark on the new circle and sample again. Then we link each point to the point of the same index on the next circle.
The final mesh can be seen Figure \ref{regularMesh}.
\begin{figure}[H]
\begin{center}
\includegraphics[scale=0.4]{img/regularMesh}
\caption{\label{regularMesh} The regular mesh}
\end{center}
\end{figure}
%TODO