For shape operations like intersection of union, lp will raise the InvalidShapeError when invalid shapes are created (e.g., intersecting a rectangle and an interval).
| 21 | |
| 22 | |
| 23 | class InvalidShapeError(Exception): |
| 24 | """For shape operations like intersection of union, lp will raise the InvalidShapeError when |
| 25 | invalid shapes are created (e.g., intersecting a rectangle and an interval). |
| 26 | """ |