Struct Tolerance
pub struct Tolerance { /* private fields */ }Expand description
The tolerance every entry point takes and the mesh it returns,
re-exported so a caller that names no axiolid-* crate – the
openbim-ifc facade and the language bindings above it (ADR 0004,
#328) – can call them and read the result.
Linear and angular tolerance carried with an operation.
There is deliberately no Default implementation: a useful tolerance is
a property of the source unit scale and requested accuracy, not the crate.
Implementations§
§impl Tolerance
impl Tolerance
pub const ZERO: Tolerance
pub const ZERO: Tolerance
Exact-coordinate policy. Use only when the caller intentionally wants no scale-derived tolerance, such as compatibility validation of an existing source model.
pub const METRE: Tolerance
pub const METRE: Tolerance
One micrometre linear and one nanoradian angular tolerance when geometry has already been normalized to metres.
pub const MILLIMETRE: Tolerance
pub const MILLIMETRE: Tolerance
One micrometre linear and one nanoradian angular tolerance while values are still expressed in millimetres.