mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 18:38:28 +00:00
Prepare for follow-on change
This commit is contained in:
parent
7b54a176f6
commit
26dfddb7af
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user