Skip to content

Polyhedron elements #4150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: devel
Choose a base branch
from
Open

Conversation

roystgnr
Copy link
Member

The first half of this could be split out into like 3 other PRs if necessary, but nothing here is an enormous refactor; we already did that for the Polygon phase.

The problem of triangulating a polyhedron with pre-defined side triangulations and without adding a center node ranges from difficult to mathematically impossible, so I'm not sure how useful this first C0Polyhedron subclass is going to be in general, but I'll follow up later with a C0I1Polyhedron where the construction is trivial so we can actually get some work done using these things.

@roystgnr roystgnr force-pushed the polyhedron_elements branch from 8de4d04 to 12ff2f4 Compare April 25, 2025 21:58
@moosebuild
Copy link

moosebuild commented Apr 26, 2025

Job Coverage, step Generate coverage on 7febf4e wanted to post the following:

Coverage

812079 #4150 7febf4
Total Total +/- New
Rate 63.42% 63.52% +0.10% 78.12%
Hits 74842 75467 +625 725
Misses 43172 43337 +165 203

Diff coverage report

Full coverage report

Warnings

  • New new line coverage rate 78.12% is less than the suggested 90.0%

This comment will be updated on new commits.

@roystgnr roystgnr force-pushed the polyhedron_elements branch from 12ff2f4 to 5bd7d4c Compare May 5, 2025 18:41
This was referenced May 5, 2025
roystgnr added 17 commits May 6, 2025 14:40
We can't even put a placeholder tet or something here since we can't use
nullptr nodes for it.
We're going to need a polyhedron with a center point for more general
use, since it turns out that there there are simple faces that can't be
tetrahedralized without ending up with degenerate tets
I simplified the Polyhedron work a bit, and the simplification works
here too.

I got confused by the Polyhedron work a bit, and the comment explains
the analogous confusing part.
@roystgnr roystgnr force-pushed the polyhedron_elements branch from 5bd7d4c to 7febf4e Compare May 6, 2025 19:49
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