paella/report/subsections/circles.tex

27 lines
1.5 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.
\paragraph{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 this formula : \\
$<\overrightarrow{C'}(t),\overrightarrow{PC}(t)> -r'(t)r(t) = 0$
and then we calculate the center of the characteristic circle with this formula :
$\overrightarrow{Cp}(t) = \overrightarrow{C}(t) - r'(t)r(t)/ /| \overrightarrow{C'}(t)/| ^{2} * \overrightarrow{C'}(t)$
\begin{figure}[H]
\begin{center}
\includegraphics[scale=0.5]{img/characteristicCircle}
\caption{\label{initialSchedule} Characteristic circle calculation}
\end{center}
\end{figure}
\paragraph{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.
%TODO