//! Comparing two snapshots.
use ;
use Structure;
/// Reports how two snapshots differ.
///
/// The comparison is over the topology tables and the first model's
/// coordinates; `coordinate_tolerance` is the absolute displacement below which
/// two positions count as the same.
///
/// # Errors
///
/// Returns [`DifferenceError::InvalidCoordinateTolerance`] when the tolerance is
/// negative or not finite.