From 8215ff90a7dc567d54472e8918df4784ccfe6374 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 6 Aug 2024 19:40:28 +0200 Subject: [PATCH] Prepare for follow-on change --- crates/fj-core/src/algorithms/approx/curve.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/fj-core/src/algorithms/approx/curve.rs b/crates/fj-core/src/algorithms/approx/curve.rs index 1808f139b..d772512e5 100644 --- a/crates/fj-core/src/algorithms/approx/curve.rs +++ b/crates/fj-core/src/algorithms/approx/curve.rs @@ -76,6 +76,8 @@ fn approx_circle_on_straight_surface( surface: &SurfaceGeom, tolerance: impl Into, ) -> Vec> { + let tolerance = tolerance.into(); + approx_circle(circle, boundary, tolerance) .into_iter() .map(|(point_curve, point_surface)| { @@ -105,6 +107,8 @@ fn approx_line_on_any_surface( surface: &SurfaceGeom, tolerance: impl Into, ) -> Vec> { + let tolerance = tolerance.into(); + let range_u = CurveBoundary::from( boundary .inner