Skip to content

Commit

Permalink
Merge pull request #1610 from hannobraun/curve
Browse files Browse the repository at this point in the history
Merge `GlobalCurve` into `GlobalEdge`
  • Loading branch information
hannobraun authored Feb 22, 2023
2 parents ccd5d4a + d3d7488 commit c757811
Show file tree
Hide file tree
Showing 25 changed files with 356 additions and 505 deletions.
332 changes: 0 additions & 332 deletions crates/fj-kernel/src/algorithms/approx/curve.rs

This file was deleted.

5 changes: 3 additions & 2 deletions crates/fj-kernel/src/algorithms/approx/cycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ use fj_math::Segment;
use crate::objects::{Cycle, Surface};

use super::{
curve::CurveCache, edge::HalfEdgeApprox, Approx, ApproxPoint, Tolerance,
edge::{EdgeCache, HalfEdgeApprox},
Approx, ApproxPoint, Tolerance,
};

impl Approx for (&Cycle, &Surface) {
type Approximation = CycleApprox;
type Cache = CurveCache;
type Cache = EdgeCache;

fn approx_with_cache(
self,
Expand Down
Loading

0 comments on commit c757811

Please sign in to comment.