Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-08-07 20:29:27 +02:00
parent 7b54a176f6
commit 26dfddb7af

View File

@ -3,6 +3,7 @@ use std::fmt;
use fj_math::{Point, Scalar}; use fj_math::{Point, Scalar};
use crate::{ use crate::{
algorithms::approx::Tolerance,
geometry::{CurveBoundary, Geometry}, geometry::{CurveBoundary, Geometry},
queries::{ queries::{
AllHalfEdgesWithSurface, BoundingVerticesOfHalfEdge, CycleOfHalfEdge, AllHalfEdgesWithSurface, BoundingVerticesOfHalfEdge, CycleOfHalfEdge,
@ -139,6 +140,7 @@ impl ValidationCheck<Shell> for CoincidentHalfEdgesAreNotSiblings {
.start_vertex(), .start_vertex(),
surface_b, surface_b,
), ),
config.tolerance,
geometry, geometry,
) else { ) else {
// The geometry to compute the distances is not available, // The geometry to compute the distances is not available,
@ -193,6 +195,7 @@ fn distances(
&Handle<Vertex>, &Handle<Vertex>,
&Handle<Surface>, &Handle<Surface>,
), ),
_: Tolerance,
geometry: &Geometry, geometry: &Geometry,
) -> Option<Vec<([Point<3>; 2], Scalar)>> { ) -> Option<Vec<([Point<3>; 2], Scalar)>> {
fn sample( fn sample(