GUI: allow to draw kdSquares
This commit is contained in:
parent
0b36b4acb9
commit
3b61d21549
@ -856,7 +856,8 @@ Public License instead of this License.
|
|||||||
Show convex hull
|
Show convex hull
|
||||||
Show polygons
|
Show polygons
|
||||||
Show polygons intersection
|
Show polygons intersection
|
||||||
Show quad tree squares</property>
|
Show quad tree squares
|
||||||
|
Show kd tree squares</property>
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
@ -23,6 +23,10 @@ diag p obj@(Object _)
|
|||||||
mkDiag (mconcat [quadPathSquare, squares, coordPointsText,
|
mkDiag (mconcat [quadPathSquare, squares, coordPointsText,
|
||||||
coordPoints, polyLines, plotterBG])
|
coordPoints, polyLines, plotterBG])
|
||||||
p obj
|
p obj
|
||||||
|
| algo p == 5 =
|
||||||
|
mkDiag (mconcat [kdSquares, coordPointsText,
|
||||||
|
coordPoints, plotterBG])
|
||||||
|
p obj
|
||||||
| otherwise = mempty
|
| otherwise = mempty
|
||||||
diag p objs@(Objects _)
|
diag p objs@(Objects _)
|
||||||
| algo p == 2 =
|
| algo p == 2 =
|
||||||
|
Loading…
Reference in New Issue
Block a user