- HalfspaceIntersection.add_halfspaces(halfspaces, restart=False)¶
Process a set of additional new halfspaces.
halfspaces : ndarray
New halfspaces to add. The dimensionality should match that of the initial halfspaces.
restart : bool, optional
Whether to restart processing from scratch, rather than adding halfspaces incrementally.
Raised when Qhull encounters an error condition, such as geometrical degeneracy when options to resolve are not enabled.
You need to specify incremental=True when constructing the object to be able to add halfspaces incrementally. Incremental addition of halfspaces is also not possible after close has been called.