Skip to content

Topological Annotations 2D#888

Merged
udaykusupati merged 11 commits intomainfrom
uday/fill_holes
Mar 18, 2026
Merged

Topological Annotations 2D#888
udaykusupati merged 11 commits intomainfrom
uday/fill_holes

Conversation

@udaykusupati
Copy link
Collaborator

Fill Holes
Keep Largest Connected Component
Tight Seal with Marching

Copy link
Contributor

@daniel-zint daniel-zint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks decent. I left a few minor comments. Integration tests are missing, though.

"DEBUG engulf_components: face row {} (verts [{},{},{}]) "
"has near-zero area = {} | pos [{},{}] [{},{}] [{},{}]",
i,
F(i, 0),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can directly print Eigen Vectors with fmt, e.g., F.row(i). That should help make this code a bit cleaner.
Also, is this still needed? Looks like it's just debug output.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this was indeed DEBUG code, but I left it, as it serves as a good integration test too. Will keep it around for these dev days, and remove once it works well for a larger range of examples.

Copy link
Contributor

@daniel-zint daniel-zint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just one comment on namespaces. Not a big deal, though, if you leave it like that.

@udaykusupati udaykusupati merged commit 8c3d88a into main Mar 18, 2026
10 checks passed
@udaykusupati udaykusupati deleted the uday/fill_holes branch March 18, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants