Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-08-06 19:42:51 +02:00
parent 8215ff90a7
commit 9858e41fe2
2 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,7 @@ pub fn approx_cycle(
half_edge.curve(), half_edge.curve(),
surface, surface,
start_position_curve, start_position_curve,
tolerance,
&mut cache.vertex, &mut cache.vertex,
geometry, geometry,
); );

View File

@ -8,7 +8,7 @@ use crate::{
topology::{Curve, Surface, Vertex}, topology::{Curve, Surface, Vertex},
}; };
use super::ApproxPoint; use super::{ApproxPoint, Tolerance};
/// # Approximate a vertex position /// # Approximate a vertex position
pub fn approx_vertex( pub fn approx_vertex(
@ -16,6 +16,7 @@ pub fn approx_vertex(
curve: &Handle<Curve>, curve: &Handle<Curve>,
surface: &Handle<Surface>, surface: &Handle<Surface>,
position_curve: Point<1>, position_curve: Point<1>,
_: impl Into<Tolerance>,
cache: &mut VertexApproxCache, cache: &mut VertexApproxCache,
geometry: &Geometry, geometry: &Geometry,
) -> ApproxPoint<1> { ) -> ApproxPoint<1> {