-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Improve face generator of polyhedra by exposing FaceIterator
class
#29654
Comments
New commits:
|
Commit: |
Branch: public/29654 |
Changed branch from public/29654 to public/29654-reb |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Dependencies: #28894 |
comment:5
There was a merge conflict with #28894, so I rebased. New commits:
|
Changed branch from public/29654-reb to public/29654-reb2 |
comment:6
Needs rebase |
comment:7
Somebody fixed a docstring syntax mistake of mine. |
comment:8
I also noticed that I had most of the documentation in the base class, which I think it is bad design, because it is not exposed. So I moved it to New commits:
|
Changed branch from public/29654-reb2 to public/29654-reb3 |
Reviewer: Matthias Koeppe |
comment:9
This looks like a nice improvement. |
comment:10
Thank you. |
Changed branch from public/29654-reb3 to |
Currently, the face generator of polyhedra is a wrapper of the
FaceIterator
class, which is intended for combinatorial polyhedra.However, it takes only little effort to modify this to return a
PolyhedronFace
instead of aCombinatorialFace
onnext
. The classFaceIterator
has the advantage that it exposes extra features ofFaceIterator
. Currently, there is only the possibility of ignoring sub- or supfaces, but there might be more features added later.It also simplifies it a lot for the user to obtain a
PolyhedronFace
fromFaceIterator
as the needed function is not exactly easy to find.Follow up:
FaceIterator
to obtain the meet of (some) vertices or the join of (some) facets.This is motivated by 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 #28894
CC: @jplab @LaisRast @videlec
Component: geometry
Keywords: polyhedra, face iterator
Author: Jonathan Kliem
Branch/Commit:
3ba34fd
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/29654
The text was updated successfully, but these errors were encountered: