Remove unused code

This commit is contained in:
Hanno Braun 2024-06-24 22:47:03 +02:00
parent b13b4a5e23
commit 7b696898a7

View File

@ -12,24 +12,9 @@ use crate::{
use super::{
half_edge::{approx_half_edge, HalfEdgeApprox, HalfEdgeApproxCache},
Approx, ApproxPoint, Tolerance,
ApproxPoint, Tolerance,
};
impl Approx for (&Cycle, &Handle<Surface>) {
type Approximation = CycleApprox;
type Cache = HalfEdgeApproxCache;
fn approx_with_cache(
self,
tolerance: impl Into<Tolerance>,
cache: &mut Self::Cache,
geometry: &Geometry,
) -> Self::Approximation {
let (cycle, surface) = self;
approx_cycle(cycle, surface, tolerance, cache, geometry)
}
}
/// Approximate the provided cycle
pub fn approx_cycle(
cycle: &Cycle,