pep8/pyflakes violations
This commit is contained in:
+4
-2
@@ -232,7 +232,8 @@ def refine(poly):
|
||||
centroid_to_edge.vertex_ids = [edge_v_id, start_centroid.id]
|
||||
|
||||
# set the new edge's winged_edge references
|
||||
# centroid_to_edge.edge_ids = poly.edges ==> get edge by id not yet implemented... edge_v_id.edges
|
||||
# centroid_to_edge.edge_ids = poly.edges ==> get edge by id not yet
|
||||
# implemented... edge_v_id.edges
|
||||
|
||||
# set the edge vertex edge references
|
||||
edge_v_id.edges.append(centroid_to_edge.id)
|
||||
@@ -250,7 +251,8 @@ def refine(poly):
|
||||
# f = sum(list(
|
||||
# set(face_vertices)), Vertex()) / len(list(set(face_vertices)))
|
||||
# r = sum(list(
|
||||
# set(edge_mid_points)), Vertex()) / len(list(set(edge_mid_points)))
|
||||
# set(edge_mid_points)), Vertex())
|
||||
# / len(list(set(edge_mid_points)))
|
||||
# p = vertex
|
||||
# n = len(vertex.edges)
|
||||
# v = (f + 2.0 * r + (n - 3.0) * p) / n
|
||||
|
||||
Reference in New Issue
Block a user