tulip-control / polytope

Geometric operations on polytopes of any dimension
https://pypi.org/project/polytope
Other
73 stars 19 forks source link

cases: bounding box for unbounded polytope, bounding box for empty polytope #89

Closed johnyf closed 6 months ago

johnyf commented 6 months ago

For an unbounded polytope, the bounding box has infinite dimensions. For an empty polytope the bounding box is 0, 0. This change follows commit 7f5964597d1bdc3bf59b8f18bdcce9087c928b21, before which 0, 0 were used as endpoints in all these cases. In tulip relevant tests pass with these changes.

johnyf commented 6 months ago

Thank you for reviewing the changes, merged.