do not compute the convex hull
This commit is contained in:
parent
c0ebccb5b4
commit
ab22d6dd41
1 changed files with 6 additions and 5 deletions
11
run_all.py
11
run_all.py
|
|
@ -10,6 +10,7 @@ from itertools import ifilterfalse as filter_if_not
|
|||
import ants
|
||||
import utils
|
||||
from utils import LOG,LOGN
|
||||
from geometry import x,y
|
||||
import hull
|
||||
import uberplot
|
||||
import shortpath
|
||||
|
|
@ -153,11 +154,11 @@ else:
|
|||
points = utils.vertices_of(penrose_segments)
|
||||
triangles = triangulation.delaunay_bowyer_watson( points, do_plot = False )
|
||||
|
||||
LOGN( "\tCompute the convex hull of",len(points),"points" )
|
||||
# Should convert the set into a list
|
||||
hull = hull.convex_hull( list(points) )
|
||||
hull_edges = list(utils.tour(hull))
|
||||
LOGN( "\t\tHull of",len(hull_edges),"edges" )
|
||||
# LOGN( "\tCompute the convex hull of",len(points),"points" )
|
||||
# # Should convert the set into a list
|
||||
# hull = hull.convex_hull( list(points) )
|
||||
# hull_edges = list(utils.tour(hull))
|
||||
# LOGN( "\t\tHull of",len(hull_edges),"edges" )
|
||||
|
||||
LOGN( "\tRemove triangles that are not sub-parts of the Penrose tiling" )
|
||||
# def adjoin_hull(triangle):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue