-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
In this ticket, I am going to fix the implementation of the method dim
of PolyhedronFace
. This problem occurs when we have a vertex and a ray (or a line) with the same vector.
See the following example.
sage: P = Polyhedron(vertices=[[1,0]], rays=[[1,0],[0,1]]); P
A 2-dimensional polyhedron in QQ^2 defined as the convex hull of 1 vertex and 2 rays
sage: P.faces(P.dim())[0]
A 1-dimensional face of a Polyhedron in QQ^2 defined as the convex hull of 1 vertex and 2 rays
Component: geometry
Keywords: polytopes, polyhedronface, dimension
Author: Laith Rastanawi
Branch/Commit: 67d3ce0
Reviewer: Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/28650