//! Global self-intersection detection and removal.
//!
//! When an offset distance exceeds the local radius of curvature at
//! concave features, the offset shell folds back on itself. This module
//! detects such regions and removes them, producing a valid offset solid.
//!
//! The current implementation returns an error when invoked. Full
//! BOP-based SI removal will be added in a follow-up.
use Topology;
use SolidId;
use crateOffsetError;
/// Detect and remove global self-intersections in the offset solid.
///
/// # Errors
///
/// Always returns [`OffsetError::SelfIntersection`] — self-intersection
/// removal is not yet implemented. Callers should only invoke this when
/// the `remove_self_intersections` option is explicitly enabled.