Opened 8 months ago

Last modified 7 months ago

#31916 closed enhancement

{Polyhedron, ConvexRationalPolyhedralCone}.{interior, relative_interior} — at Version 3

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.4
Component: geometry Keywords:
Cc: gh-kliem, yzh, jipilab, tscrim, novoselt, mjo Merged in:
Authors: Matthias Koeppe Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/polyhedron_relative_interior (Commits, GitHub, GitLab) Commit: e9c670c00a492f8f50f3e21e55895a0d3c1d55f2
Dependencies: Stopgaps:

Status badges

Description (last modified by mkoeppe)

We introduce new methods relative_interior and interior, which (in nontrivial cases) return a simple object with a __contains__ method.

Then one can write x in P.relative_interior() instead of P.relative_interior_contains(x).

This will also simplify #31660.

Change History (3)

comment:1 Changed 8 months ago by mkoeppe

  • Authors set to Matthias Koeppe

comment:2 Changed 8 months ago by mkoeppe

  • Branch set to u/mkoeppe/polyhedron_relative_interior

comment:3 Changed 7 months ago by mkoeppe

  • Cc novoselt mjo added
  • Commit set to e9c670c00a492f8f50f3e21e55895a0d3c1d55f2
  • Description modified (diff)
  • Summary changed from Polyhedron.relative_interior to {Polyhedron, ConvexRationalPolyhedralCone}.{interior, relative_interior}

New commits:

e9c670csage.geometry.polyhedron.relint, Polyhedron_base.relative_interior, Polyhedron_base.interior: New
Note: See TracTickets for help on using tickets.