From 30e5c0ba7249322a461d282851b5aa2d4ac8739b Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 17 Jun 2024 22:27:09 +0200 Subject: [PATCH] Prepare for follow-on change --- .../checks/coincident_half_edges_are_not_siblings.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/fj-core/src/validation/checks/coincident_half_edges_are_not_siblings.rs b/crates/fj-core/src/validation/checks/coincident_half_edges_are_not_siblings.rs index 3b0e9c978..1a81d4794 100644 --- a/crates/fj-core/src/validation/checks/coincident_half_edges_are_not_siblings.rs +++ b/crates/fj-core/src/validation/checks/coincident_half_edges_are_not_siblings.rs @@ -183,10 +183,8 @@ fn distances( ) -> Point<3> { let [start, end] = geometry.of_half_edge(half_edge).boundary.inner; let path_coords = start + (end - start) * percent; - let surface_coords = geometry - .of_half_edge(half_edge) - .path - .point_from_path_coords(path_coords); + let path = geometry.of_half_edge(half_edge).path; + let surface_coords = path.point_from_path_coords(path_coords); geometry .of_surface(surface) .point_from_surface_coords(surface_coords)