mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-28 12:56:06 +00:00
Prepare for follow-on change
This commit is contained in:
parent
ee755ac5e8
commit
8215ff90a7
@ -76,6 +76,8 @@ fn approx_circle_on_straight_surface(
|
|||||||
surface: &SurfaceGeom,
|
surface: &SurfaceGeom,
|
||||||
tolerance: impl Into<Tolerance>,
|
tolerance: impl Into<Tolerance>,
|
||||||
) -> Vec<ApproxPoint<1>> {
|
) -> Vec<ApproxPoint<1>> {
|
||||||
|
let tolerance = tolerance.into();
|
||||||
|
|
||||||
approx_circle(circle, boundary, tolerance)
|
approx_circle(circle, boundary, tolerance)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|(point_curve, point_surface)| {
|
.map(|(point_curve, point_surface)| {
|
||||||
@ -105,6 +107,8 @@ fn approx_line_on_any_surface(
|
|||||||
surface: &SurfaceGeom,
|
surface: &SurfaceGeom,
|
||||||
tolerance: impl Into<Tolerance>,
|
tolerance: impl Into<Tolerance>,
|
||||||
) -> Vec<ApproxPoint<1>> {
|
) -> Vec<ApproxPoint<1>> {
|
||||||
|
let tolerance = tolerance.into();
|
||||||
|
|
||||||
let range_u = CurveBoundary::from(
|
let range_u = CurveBoundary::from(
|
||||||
boundary
|
boundary
|
||||||
.inner
|
.inner
|
||||||
|
Loading…
x
Reference in New Issue
Block a user