(cherry-picked from #32432)
CC: @kliem
Component: geometry
Author: Matthias Koeppe
Branch/Commit: 57919d4
Reviewer: Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/32592