Read vertex geometry in SweepHalfEdge

This commit is contained in:
Hanno Braun 2024-07-09 20:35:08 +02:00
parent e96f66c17e
commit 972895707e

View File

@ -59,7 +59,22 @@ impl SweepHalfEdge for Handle<HalfEdge> {
) -> SweptHalfEdge {
let path = path.into();
let boundary = core.layers.geometry.of_half_edge(self).boundary.inner;
let boundary = [
core.layers
.geometry
.of_vertex(self.start_vertex())
.unwrap()
.local_on(self.curve())
.unwrap()
.position,
core.layers
.geometry
.of_vertex(&end_vertex)
.unwrap()
.local_on(self.curve())
.unwrap()
.position,
];
let curve_geom = core
.layers
.geometry