mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-03 17:38:27 +00:00
Read vertex geometry in validation check
This commit is contained in:
parent
86650e61a2
commit
b655fb6dbf
@ -99,7 +99,12 @@ fn check_cycle<'r>(
|
||||
) -> impl Iterator<Item = AdjacentHalfEdgesNotConnected> + 'r {
|
||||
cycle.half_edges().pairs().filter_map(|(first, second)| {
|
||||
let end_pos_of_first_half_edge = {
|
||||
let [_, end] = geometry.of_half_edge(first).boundary.inner;
|
||||
let end = geometry
|
||||
.of_vertex(second.start_vertex())
|
||||
.unwrap()
|
||||
.local_on(first.curve())
|
||||
.unwrap()
|
||||
.position;
|
||||
geometry
|
||||
.of_curve(first.curve())
|
||||
.unwrap()
|
||||
|
Loading…
Reference in New Issue
Block a user