explain gentle inflection at the end of the bend

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:47 +03:00 committed by Motiejus Jakštys
parent 92972694ee
commit 09dea6db56
3 changed files with 26 additions and 3 deletions

View File

@ -5,6 +5,7 @@ SLIDES = slides-2021-03-29.pdf
NON_ARCHIVABLES = notes.txt referatui.txt slides-2021-03-29.txt
ARCHIVABLES = $(filter-out $(NON_ARCHIVABLES),$(shell git ls-files .))
FIGURES = fig8-definition-of-a-bend.pdf
.PHONY: test
test: .faux_test
@ -31,7 +32,7 @@ clean-tables:
.PHONY: slides
slides: $(SLIDES)
mj-msc.pdf: mj-msc.tex test-figures.pdf version.tex bib.bib
mj-msc.pdf: mj-msc.tex test-figures.pdf version.tex bib.bib $(FIGURES)
latexmk -shell-escape -g -pdf $<
mj-msc-full.pdf: mj-msc.pdf version.tex $(ARCHIVABLES)

View File

@ -76,9 +76,8 @@ def main():
ax.axis('off')
ax.margins(0, 0)
fig.tight_layout(0)
if args.outfile:
fig.savefig(args.outfile, bbox_inches=0, dpi=600)
fig.savefig(args.outfile, bbox_inches='tight', dpi=600)
else:
plt.show()

View File

@ -212,9 +212,32 @@ unexpected bugs have snug in while modifying the algorithm.
\chapter{Description of the implementation}
Like alluded in section~\ref{sec:introduction}, \cite{wang1998line} paper skims
over certain details, which are important to implement the algorithm. This
section goes through each algorithm stage, illustrating the intermediate steps
and explaining the author's desiderata for a detailed description.
Step illustrations of the following sections are extracted from the automated
test cases.
\section{Definition of a Bend}
\begin{figure}[H]
\centering
\includegraphics[width=\linewidth]{fig8-definition-of-a-bend}
\caption{Originally figure 8: detected bends are highlighted}
\label{fig:fig8-definition-of-a-bend}
\end{figure}
End vertices of all lines should also be part of the bend. That way, all
vertices belong to 1 or 2 bends. This characteristic is not obvious when
reading the introductory sections, but becomes unavoidable (there could be no
other way) when reading the following sections in detail.
Last vertex of each bend (except for the two end-line vertices) is also the
first vertex of the next bend. This is apparent when looking at the
illustration of the detected bends. However, the original {\WM} paper did not
have such an explanation or illustration.
\section{Gentle Inflection at End of a Bend}