Set half-edge geometry in test

This commit is contained in:
Hanno Braun 2024-03-20 12:41:50 +01:00
parent 3f5c2854cd
commit 5b8ae052c6

View File

@ -404,6 +404,7 @@ mod tests {
operations::{ operations::{
build::BuildShell, build::BuildShell,
geometry::UpdateHalfEdgeGeometry, geometry::UpdateHalfEdgeGeometry,
insert::Insert,
update::{ update::{
UpdateCycle, UpdateFace, UpdateHalfEdge, UpdateRegion, UpdateCycle, UpdateFace, UpdateHalfEdge, UpdateRegion,
UpdateShell, UpdateShell,
@ -545,9 +546,18 @@ mod tests {
cycle.update_half_edge( cycle.update_half_edge(
cycle.half_edges().nth_circular(0), cycle.half_edges().nth_circular(0),
|half_edge, core| { |half_edge, core| {
[half_edge.update_curve( [half_edge
.update_curve(
|_, _| Curve::new(), |_, _| Curve::new(),
core, core,
)
.insert(core)
.set_path(
core.layers
.geometry
.of_half_edge(half_edge)
.path,
&mut core.layers.geometry,
)] )]
}, },
core, core,