Commit cd878ecc authored by Manuel Schrauth's avatar Manuel Schrauth
Browse files


parent c6db2f3e
......@@ -33,7 +33,7 @@ def refine_lattice(tilingobj, n): # n is the number of refinements
# one "mother" triangle bears 4 "children" triangles, one in its mid
# and three that each share one vertex with their mother
child = HyperPolygon(p, q) # the center triangle whose vertices are the newly found refined ones
child.verticesP = ref_vertices
child.verticesP = np.array(ref_vertices)
child.centerP = pgon.centerP # the center triangle shares its center with its mother
child.centerW = p2w(child.centerP)
child.number = 4*num+1 # assigning a unique number
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment