Skip to content

Commit

Permalink
find the verx
Browse files Browse the repository at this point in the history
  • Loading branch information
ipudu committed Mar 12, 2018
1 parent 8d48bfc commit a62aa19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion order/avc.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def polyhedron(self, coords, j, L):
vor = Voronoi(coords)
#get the vertices
#points = [vor.vertices[x] for x in vor.regions[vor.point_region[j]] if x != -1]
points = vor.regions[vor.point_regions[0]]
points = [vor.vertices[x] for x in vor.regions[vor.point_regions[0]]]

return points

def compute_vc(self, points):
Expand Down

0 comments on commit a62aa19

Please sign in to comment.