Skip to content

Commit

Permalink
Remove obselete end_position function
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Walrus authored and hannobraun committed Mar 16, 2023
1 parent 77bb3f5 commit f0423c6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions crates/fj-kernel/src/objects/full/edge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vertex> {
&self.start_vertex
Expand Down

0 comments on commit f0423c6

Please sign in to comment.