Skip to content

Small improvements for FaceIterator_base #29681

@kliem

Description

@kliem

This ticket collects some small improvements for the the class FaceIterator_base and the inherited classes FaceIterator, FaceIterator_geom:

  • Add a method reset.

  • Add a method current that retrieves the last value of __next__.

  • Simplify the methods ignore_subfaces and ignore_supfaces by outsourcing the common code to ignore_subsets.

    Follow up:

    Use face iterator to obtain the meet of (some) vertices or the join of (some) facets.

Depends on #29654

CC: @jplab @LaisRast

Component: geometry

Keywords: polyhedron, face iterator

Author: Jonathan Kliem

Branch/Commit: fc84ffa

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/29681

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions