fj_core/algorithms/approx/
sketch.rs

1//! Sketch approximation
2
3use std::collections::BTreeSet;
4
5use crate::{objects::Sketch, Core};
6
7use super::{edge::HalfEdgeApproxCache, face::FaceApprox, Approx, Tolerance};
8
9impl Approx for &Sketch {
10    type Approximation = BTreeSet<FaceApprox>;
11    type Cache = HalfEdgeApproxCache;
12
13    fn approx_with_cache(
14        self,
15        _tolerance: impl Into<Tolerance>,
16        _cache: &mut Self::Cache,
17        _core: &mut Core,
18    ) -> Self::Approximation {
19        todo!()
20    }
21}