mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-06 07:15:55 +00:00
Set half-edge geometry in test
This commit is contained in:
parent
3f5c2854cd
commit
5b8ae052c6
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user