1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! Sketch approximation

use std::collections::BTreeSet;

use crate::objects::Sketch;

use super::{edge::EdgeCache, face::FaceApprox, Approx, Tolerance};

impl Approx for &Sketch {
    type Approximation = BTreeSet<FaceApprox>;
    type Cache = EdgeCache;

    fn approx_with_cache(
        self,
        _tolerance: impl Into<Tolerance>,
        _cache: &mut Self::Cache,
    ) -> Self::Approximation {
        todo!()
    }
}