constraint-theory-core 2.0.0

Constraint theory framework: Pythagorean manifolds, adaptive tolerance, holonomy measurement, and multi-surface composition
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, Clone, PartialEq)]
pub struct SnapReport {
    pub original: (f64, f64, f64),
    pub snapped: (i64, i64, i64),
    pub error: f64,
    pub is_exact: bool,
}

#[derive(Debug, Clone, PartialEq)]
pub enum SnapError {
    NoTripleFound,
    OutOfBounds,
}