From 55cf57ba8d3d87cc6b419cdc377fcdd94068c620 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 7 May 2024 13:34:22 +0200 Subject: [PATCH] Refactor to prepare for follow-on change --- crates/fj-core/src/operations/sweep/half_edge.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/fj-core/src/operations/sweep/half_edge.rs b/crates/fj-core/src/operations/sweep/half_edge.rs index 64a80adcd..89d345992 100644 --- a/crates/fj-core/src/operations/sweep/half_edge.rs +++ b/crates/fj-core/src/operations/sweep/half_edge.rs @@ -119,10 +119,12 @@ impl SweepHalfEdge for Handle { .zip_ext(vertices) .zip_ext(curves) .map(|((((boundary, start), end), start_vertex), curve)| { + let boundary = CurveBoundary { inner: boundary }; + let half_edge = { let line_segment = HalfEdge::line_segment( [start, end], - Some(CurveBoundary { inner: boundary }), + Some(boundary), surface.clone(), core, );