Skip to main content

grid_geometry_equivalent

Function grid_geometry_equivalent 

Source
pub fn grid_geometry_equivalent(a: &GridGeometry, b: &GridGeometry) -> bool
Expand description

Loose grid comparison for producers that print identical meshes at finite precision: exact shape equality plus a tight relative tolerance on spacing, origin, and direction. Importers must use this rather than == on f64 fields, and must never resample disagreeing meshes into agreement.