Read path from curve geometry in validation check

This commit is contained in:
Hanno Braun 2024-06-19 21:31:50 +02:00
parent 58be958365
commit 6c7fd44c22

View File

@ -101,7 +101,10 @@ fn check_cycle<'r>(
let end_pos_of_first_half_edge = {
let [_, end] = geometry.of_half_edge(first).boundary.inner;
geometry
.of_half_edge(first)
.of_curve(first.curve())
.unwrap()
.local_on(surface)
.unwrap()
.path
.point_from_path_coords(end)
};