commit db35bb3d53487f6b3e0ace8bdb0554014926daa5
parent fa2ec6c2864547f057512aa43d806bbce971f5dd
Author: Ivan Gankevich <igankevich@ya.ru>
Date:   Sat, 30 Mar 2019 17:34:15 +0300
Benchmarks.
Diffstat:
2 files changed, 47 insertions(+), 6 deletions(-)
diff --git a/main.tex b/main.tex
@@ -4,6 +4,7 @@
 \usepackage{booktabs}
 \usepackage{graphicx}
 \usepackage{url}
+\setlength{\tabcolsep}{4pt}
 
 \begin{document}
 
@@ -197,6 +198,31 @@ visualisation.
 
 \section{Results}
 
+To prove VSL viability for using it as an alternative to another format that
+uses analytic curves called IGES~\cite{smith1983iges}, we measured
+triangulation performance and measured how many vertices and faces are
+generated when analytic curves and surfaces are transformed into them. We do
+not have the same ship hulls in both formats, so we resorted to measuring
+performance relative to vertex and face count. To work with IGES format
+we use OpenCASCADE library~\cite{opencascade}.
+
+\begin{table}
+	\centering
+	\caption{VSL performance in comparison to IGES for different ship
+	hulls.\label{tab:performance}}
+	\begin{tabular}{llrrr}
+		\toprule
+		Ship   & Format & Import time, s & No. of vertices & No. of faces \\
+		\midrule
+		MICW   & VSL  & 0.019 &   5457 &   10912 \\
+		Aurora & VSL  & 0.054 &  14653 &   29306 \\
+		KVLCC2 & IGES & 24    &  57306 &  114110 \\
+		5415   & IGES & 1.3   &  21088 &   41841 \\
+		KCS    & IGES & 32.5  & 626188 & 1243307 \\
+		\bottomrule
+	\end{tabular}
+\end{table}
+
 \section{Discussion}
 
 \section{Conclusion}
diff --git a/references.bib b/references.bib
@@ -1,4 +1,20 @@
 
+@TechReport{      coons1967surfaces,
+  title         = {Surfaces for computer-aided design of space forms},
+  author        = {Coons, Steven A},
+  year          = {1967},
+  institution   = {Massachusetts Institute of Technology}
+}
+
+@Article{         smith1983iges,
+  title         = {IGES, A Key Interface Specification for CAD/CALM Systems
+                  Integration},
+  author        = {Smith, Bradford M and Wellington, Joan},
+  journal       = {Computer-Aided Geometry Modeling},
+  pages         = {279--319},
+  year          = {1983}
+}
+
 @Misc{            hull2010,
   title         = {Analytic ship hull shape construction, wave resistance
                   calculations, theoretical blueprint feature curve
@@ -19,10 +35,9 @@
   fipsnumber    = {2015621368}
 }
 
-
-@techreport{coons1967surfaces,
-  title={Surfaces for computer-aided design of space forms},
-  author={Coons, Steven A},
-  year={1967},
-  institution={Massachusetts Institute of Technology}
+@Misc{            opencascade,
+  title         = {Open CASCADE Technology, 3D modeling \& numerical simulation},
+  author        = {Open Cascade SAS},
+  url           = {https://www.opencascade.com/},
+  year          = {2019}
 }