Skip to content

Commit

Permalink
add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
j042 committed Dec 8, 2023
1 parent abaf91e commit 7aad173
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gustaf/utils/connec.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,12 @@ def e2p(edges, return_edges=False, max_polygons=100):
bc = np.bincount(edges.ravel())
assert all(bc < 3)

# TODO TODO TODO
# Special treatment of only once occurring vertices:
# they are end points of a line, so we need to start with that index

# also, add winding orientation check and return CCW

# initialize a set to keep track of processes vertices
next_candidates = set(edges.ravel())

Expand Down

0 comments on commit 7aad173

Please sign in to comment.