<div id="comment:0"></div> We merge some duplications of obtaining edges, ridges and f-vector. There was an entire copy of getting edges/ridges that also obtained the f-vector. But it is much simpler doing this directly in the f-vector code. Also getting the edges/ridges is almost the same thing. We can let the `FaceIterator` worry about the details. Depends on #30443 CC: @jplab @LaisRast @tscrim Component: **geometry** Keywords: **code duplication, combinatorial polyhedron** Author: **Jonathan Kliem** Branch/Commit: **[`62b3d9f`](https://github.com/sagemath/sagetrac-mirror/commit/62b3d9f0eaf22fc9102f990f4c7f3754c1282f79)** Reviewer: **Travis Scrimshaw** _Issue created by migration from https://trac.sagemath.org/ticket/30445_