Exemplo n.º 1
0
def main():
    interface = GUI()

    points = ioclass.read_from_file(filename)

    interface.set_points(points)

    poly = Polygon()
    poly.set_points(points)

    ear_art_gallery_problem.art_gallery_problem(interface)
    #seidel_art_gallery_color.art_gallery_problem(interface)
    #ear_triang_segment_tree.ear_segment_art_gallery_problem(interface)
    interface.draw_polygon_points(poly)
    root = interface.get_root()
    root.mainloop()