Add variable to increase clarity

This commit is contained in:
Hanno Braun 2024-06-28 19:33:49 +02:00
parent 24e0b0cbca
commit aec37de69b

View File

@ -114,21 +114,19 @@ impl SplitFace for Shell {
.unwrap()
.path,
);
let end = core.layers.geometry.of_half_edge(&d).start_position(
&core
.layers
.geometry
.of_curve(d.curve())
.unwrap()
.local_on(face.surface())
.unwrap()
.path,
);
let (half_edge, boundary) = HalfEdge::line_segment(
[
start,
core.layers.geometry.of_half_edge(&d).start_position(
&core
.layers
.geometry
.of_curve(d.curve())
.unwrap()
.local_on(face.surface())
.unwrap()
.path,
),
],
[start, end],
face.surface().clone(),
core,
);