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 polygons
|
||||
Show polygons intersection
|
||||
Show quad tree squares</property>
|
||||
Show quad tree squares
|
||||
Show kd tree squares</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
@ -23,6 +23,10 @@ diag p obj@(Object _)
|
||||
mkDiag (mconcat [quadPathSquare, squares, coordPointsText,
|
||||
coordPoints, polyLines, plotterBG])
|
||||
p obj
|
||||
| algo p == 5 =
|
||||
mkDiag (mconcat [kdSquares, coordPointsText,
|
||||
coordPoints, plotterBG])
|
||||
p obj
|
||||
| otherwise = mempty
|
||||
diag p objs@(Objects _)
|
||||
| algo p == 2 =
|
||||
|
Loading…
Reference in New Issue
Block a user