Refactor to prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-05-07 13:34:22 +02:00
parent 67e85aadfb
commit 55cf57ba8d

View File

@ -119,10 +119,12 @@ impl SweepHalfEdge for Handle<HalfEdge> {
.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,
);