mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 03:18:30 +00:00
Read path from curve geometry in edge approx code
This commit is contained in:
parent
8ed9db8675
commit
082dd9f1a9
@ -61,7 +61,10 @@ impl Approx for (&Handle<HalfEdge>, &Handle<Surface>) {
|
|||||||
|
|
||||||
approx.points.into_iter().map(|point| {
|
approx.points.into_iter().map(|point| {
|
||||||
let point_surface = geometry
|
let point_surface = geometry
|
||||||
.of_half_edge(half_edge)
|
.of_curve(half_edge.curve())
|
||||||
|
.unwrap()
|
||||||
|
.local_on(surface)
|
||||||
|
.unwrap()
|
||||||
.path
|
.path
|
||||||
.point_from_path_coords(point.local_form);
|
.point_from_path_coords(point.local_form);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user