Remove commented code

This commit is contained in:
Hanno Braun 2024-07-09 21:26:37 +02:00
parent 104bbea1ed
commit 35edeaca76

View File

@ -165,12 +165,10 @@ fn distances(
) -> Option<Point<3>> { ) -> Option<Point<3>> {
let [start, end] = geometry.of_half_edge(half_edge).boundary.inner; let [start, end] = geometry.of_half_edge(half_edge).boundary.inner;
let path_coords = start + (end - start) * percent; let path_coords = start + (end - start) * percent;
// let path = geometry.of_half_edge(half_edge).path;
let path = geometry let path = geometry
.of_curve(half_edge.curve())? .of_curve(half_edge.curve())?
.local_on(surface)? .local_on(surface)?
.path; .path;
// assert_eq!(path, path_from_curve);
let surface_coords = path.point_from_path_coords(path_coords); let surface_coords = path.point_from_path_coords(path_coords);
Some( Some(
geometry geometry