Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Sep 24, 2024
1 parent 64f2900 commit 81399b6
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions crates/fj-core/src/geometry/curves/circle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,20 +179,6 @@ impl Circle<3> {
}
}

impl<const D: usize> approx::AbsDiffEq for Circle<D> {
type Epsilon = <Scalar as approx::AbsDiffEq>::Epsilon;

fn default_epsilon() -> Self::Epsilon {
Scalar::default_epsilon()
}

fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool {
self.center.abs_diff_eq(&other.center, epsilon)
&& self.a.abs_diff_eq(&other.a, epsilon)
&& self.b.abs_diff_eq(&other.b, epsilon)
}
}

impl<const D: usize> GenPolyline<D> for Circle<D> {
fn origin(&self) -> Point<D> {
self.center() + self.a()
Expand Down

0 comments on commit 81399b6

Please sign in to comment.