mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-11 18:57:01 +00:00
Set half-edge geometry in BuildShell
method
This commit is contained in:
parent
4d8d57728b
commit
23dae5e20c
@ -8,6 +8,7 @@ use crate::{
|
|||||||
objects::{Curve, Face, HalfEdge, Shell, Surface, Vertex},
|
objects::{Curve, Face, HalfEdge, Shell, Surface, Vertex},
|
||||||
operations::{
|
operations::{
|
||||||
build::{BuildFace, BuildHalfEdge, BuildSurface, Polygon},
|
build::{BuildFace, BuildHalfEdge, BuildSurface, Polygon},
|
||||||
|
geometry::UpdateHalfEdgeGeometry,
|
||||||
insert::{Insert, IsInserted, IsInsertedNo, IsInsertedYes},
|
insert::{Insert, IsInserted, IsInsertedNo, IsInsertedYes},
|
||||||
join::JoinCycle,
|
join::JoinCycle,
|
||||||
reverse::ReverseCurveCoordinateSystems,
|
reverse::ReverseCurveCoordinateSystems,
|
||||||
@ -99,6 +100,14 @@ pub trait BuildShell {
|
|||||||
half_edge
|
half_edge
|
||||||
.update_start_vertex(|_, _| vertex, core)
|
.update_start_vertex(|_, _| vertex, core)
|
||||||
.update_curve(|_, _| curve, core)
|
.update_curve(|_, _| curve, core)
|
||||||
|
.insert(core)
|
||||||
|
.set_path(
|
||||||
|
core.layers
|
||||||
|
.geometry
|
||||||
|
.of_half_edge(&half_edge)
|
||||||
|
.path,
|
||||||
|
&mut core.layers.geometry,
|
||||||
|
)
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user