diff --git a/IV/mj-msc.tex b/IV/mj-msc.tex index f09adc7..9b1f1e8 100644 --- a/IV/mj-msc.tex +++ b/IV/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/IV/wm.sql b/IV/wm.sql index 4fa7275..da7b9f1 100644 --- a/IV/wm.sql +++ b/IV/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