-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
"look up" a face in the face lattice of a polyhedron #29683
Comments
Branch: pubic/29683 |
Changed branch from pubic/29683 to public/29683 |
Commit: |
Last 10 new commits:
|
comment:3
There are failing tests. I would wait until the dependices are taken care of to make things work again. |
Changed branch from public/29683 to public/29683-reb |
comment:6
I want to redesign some of the setup before making everything more complicated. More precisely, creating strucutures |
Changed dependencies from #29681 to none |
Changed branch from public/29683-reb to public/29683-reb2 |
comment:8
Some quick comments:
|
comment:9
I discovered a bug by accident:
The problem is that the backend |
comment:74
Replying to @yuan-zhou:
It's consistent. Still one can argue about whether it should be changed. What you are proposing is the following: Given a bunch of indices. If there are in the far face, throw an error. Current behavior is the following (and I also wasn't aware of this, after all the ticket has been sitting there for a year): Given no indices, return the empty face. Otherwise, intersect all facets that contain all given indices. If that is contained in the far face, throw an error. In the first of your cases, there is no facet. In the second case, the only facet does not contain the index. In the third case, both facets contain the line and thus the join is really not defined. A different example where currently everything works out is the following:
There is always exactly one face containing each ray. It even makes sense when you consider the lattice of the cone (or add the far face). The ray is of course a face of it's own there. However, there is a unique smallest face in the original polyhedron that contains it. I think the current behavior makes sense. You could give me a bunch of rays of a large polyhedron and ask me, what's the smallest face containing them. As long as this is well-defined, you can except to get an answer and not an error. It's like computing |
comment:75
Actually, I'm not considering combinatorial polyhedra, far face, etc. at all. Instead, I'm looking from a geometric point of view. In the examples above, I see "A line in the direction (1, 1)" as None of the faces of None of the faces of |
comment:76
I don't think one should see "A line in the direction (1, 1)" as
No, the third example returns an error, because both edges of Edit: Maybe rather say 1-faces instead of edges. There are two 1-faces of |
comment:77
Replying to @kliem:
Aha! That explains everything. |
comment:79
Thank you. That part with the implicit vertex is super confusing... |
Changed branch from public/29683-reb3 to public/29683-reb4 |
Last 10 new commits:
|
comment:81
Rebased on new version of #31834, which fixes trivial merge conflict because of whitespaces. |
Changed branch from public/29683-reb4 to public/29683-reb5 |
comment:82
Only merged and rebased on #31834. Last 10 new commits:
|
comment:84
easy merge of updated #31834 |
comment:85
Back to positive review. LGTM too. |
Changed reviewer from Yuan Zhou to Yuan Zhou, Matthias Koeppe |
comment:87
Thank you. |
Changed branch from public/29683-reb5 to |
We implement two methods that look up a face in the face lattice of a polyhedron:
meet_of_Vrep
-- the smallest face containing specified Vrepresentativesjoin_of_Hrep
-- the largest face contained specified facetsThis allows an easy answer for https://ask.sagemath.org/question/34485/what-is-the-most-efficient-way-to-look-up-a-face-in-the-face-lattice-of-a-polyhedron/#50965
Depends on #31834
CC: @jplab @LaisRast @videlec @yuan-zhou
Component: geometry
Keywords: polyhedron, faces, meet, join
Author: Jonathan Kliem
Branch/Commit:
8190917
Reviewer: Yuan Zhou, Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/29683
The text was updated successfully, but these errors were encountered: