remove redundant commentary
This commit is contained in:
parent
962620b49a
commit
7502471808
10
IV/wm.sql
10
IV/wm.sql
@ -261,11 +261,6 @@ begin
|
|||||||
-- self-crossing. now try to find another bend in this line that
|
-- self-crossing. now try to find another bend in this line that
|
||||||
-- crosses an imaginary line of end-vertices
|
-- crosses an imaginary line of end-vertices
|
||||||
|
|
||||||
-- To understand the block below, I suggest you take a pencil and paper,
|
|
||||||
-- draw a self-crossing bend (fig6 from the article works well), and
|
|
||||||
-- figure out what happens here, by hand. I know it's hard to follow.
|
|
||||||
-- Apologies.
|
|
||||||
|
|
||||||
-- go through each bend in the given line, and see if has a potential to
|
-- go through each bend in the given line, and see if has a potential to
|
||||||
-- cross bends[i].
|
-- cross bends[i].
|
||||||
for j in 1..i-1 loop
|
for j in 1..i-1 loop
|
||||||
@ -291,14 +286,9 @@ begin
|
|||||||
continue when multi is null;
|
continue when multi is null;
|
||||||
mutated = true;
|
mutated = true;
|
||||||
|
|
||||||
-- To understand the block below, I suggest you take a pencil and paper,
|
|
||||||
-- draw a self-crossing bend (fig6 from the article works well), and
|
|
||||||
-- figure out what happens here, by hand. I know it's hard to follow.
|
|
||||||
-- Apologies.
|
|
||||||
-- remove last vertex of the previous bend, because the last
|
-- remove last vertex of the previous bend, because the last
|
||||||
-- segment is duplicated with the i'th bend.
|
-- segment is duplicated with the i'th bend.
|
||||||
bends[i-1] = st_removepoint(bends[i-1], st_npoints(bends[i-1])-1);
|
bends[i-1] = st_removepoint(bends[i-1], st_npoints(bends[i-1])-1);
|
||||||
-- continue debugging the selfcrossing-1 here.
|
|
||||||
bends[i] = st_makeline(
|
bends[i] = st_makeline(
|
||||||
st_pointn(bends[i], 1),
|
st_pointn(bends[i], 1),
|
||||||
st_removepoint(st_geometryn(multi, st_numgeometries(multi)), 0)
|
st_removepoint(st_geometryn(multi, st_numgeometries(multi)), 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user