From a68cebcb4dcac0327a51370359e2710e5270e058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 19 May 2021 22:57:46 +0300 Subject: [PATCH] minor: formatting --- mj-msc.tex | 2 +- wm.sql | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mj-msc.tex b/mj-msc.tex index f09adc7..9b1f1e8 100644 --- a/mj-msc.tex +++ b/mj-msc.tex @@ -202,7 +202,7 @@ line direction. \begin{figure}[H] \centering \includegraphics[width=\linewidth]{test-figures} - \caption{line geometries for automated test cases} + \caption{Line geometries for automated test cases} \label{fig:test-figures} \end{figure} diff --git a/wm.sql b/wm.sql index 4fa7275..da7b9f1 100644 --- a/wm.sql +++ b/wm.sql @@ -14,8 +14,7 @@ declare prev_sign int4; cur_sign int4; begin - - -- the last vertex is iterated over twice, because the algorithm uses 3 + -- The last vertex is iterated over twice, because the algorithm uses 3 -- vertices to calculate the angle between them. -- -- Given 3 vertices p1, p2, p3: @@ -31,7 +30,6 @@ begin -- So once the p1 becomes the last vertex, the loop terminates, and the -- [p2,p1] line will not have a chance to be added. So the loop adds the last -- vertex twice, so it has a chance to become p2, and be added to the bend. - -- for p in ( (select geom from st_dumppoints(line) order by path[1] asc) union all