From 7b696898a7f303bc4f72476c8c5f8f99e034f3e5 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 24 Jun 2024 22:47:03 +0200 Subject: [PATCH] Remove unused code --- crates/fj-core/src/algorithms/approx/cycle.rs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/crates/fj-core/src/algorithms/approx/cycle.rs b/crates/fj-core/src/algorithms/approx/cycle.rs index c8086427e..c5d1051c7 100644 --- a/crates/fj-core/src/algorithms/approx/cycle.rs +++ b/crates/fj-core/src/algorithms/approx/cycle.rs @@ -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) { - type Approximation = CycleApprox; - type Cache = HalfEdgeApproxCache; - - fn approx_with_cache( - self, - tolerance: impl Into, - 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,