From eb95ffb9d5248516a94a817de78886c0cf608b96 Mon Sep 17 00:00:00 2001 From: A-Walrus Date: Thu, 16 Mar 2023 14:09:47 +0200 Subject: [PATCH] Remove obselete `end_position` function --- crates/fj-kernel/src/objects/full/edge.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/crates/fj-kernel/src/objects/full/edge.rs b/crates/fj-kernel/src/objects/full/edge.rs index 646ea688bf..65216649bc 100644 --- a/crates/fj-kernel/src/objects/full/edge.rs +++ b/crates/fj-kernel/src/objects/full/edge.rs @@ -86,16 +86,6 @@ impl HalfEdge { self.curve.point_from_path_coords(start) } - /// Compute the surface position where the half-edge ends - pub fn end_position(&self) -> Point<2> { - // Computing the surface position from the curve position is fine. - // `HalfEdge` "owns" its end position. There is no competing code that - // could compute the surface position from slightly different data. - - let [_, end] = self.boundary; - self.curve.point_from_path_coords(end) - } - /// Access the vertex from where this half-edge starts pub fn start_vertex(&self) -> &Handle { &self.start_vertex