Read boundary from layer in cycle validation check

This commit is contained in:
Hanno Braun 2024-03-23 01:08:12 +01:00
parent a33bcc9add
commit f1a6e63260

View File

@ -46,7 +46,7 @@ impl ValidationCheck<Cycle> for AdjacentHalfEdgesNotConnected {
) -> impl Iterator<Item = Self> {
object.half_edges().pairs().filter_map(|(first, second)| {
let end_pos_of_first_half_edge = {
let [_, end] = first.boundary().inner;
let [_, end] = geometry.of_half_edge(first).boundary.inner;
geometry
.of_half_edge(first)
.path