diff --git a/crates/fj-core/src/geometry/surface.rs b/crates/fj-core/src/geometry/surface.rs index 7f564444b..87fcf02e2 100644 --- a/crates/fj-core/src/geometry/surface.rs +++ b/crates/fj-core/src/geometry/surface.rs @@ -65,15 +65,7 @@ impl SurfaceGeom { ) -> (Triangle<3>, [Scalar; 3]) { let point_surface = point_surface.into(); - let line_segment = match &self.u { - Path::Circle(circle) => { - circle.line_segment_at([point_surface.u], tolerance) - } - Path::Line(line) => { - line.line_segment_at([point_surface.u], tolerance) - } - }; - + let line_segment = self.u.line_segment_at([point_surface.u], tolerance); let [a, b] = line_segment .map(|point_global| point_global + self.v * point_surface.v);