From 2e8320699bea53f7a90d5df126cb9e9e9dfbc54c Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 22 Feb 2023 13:43:29 +0100 Subject: [PATCH] Update doc comments --- crates/fj-kernel/src/algorithms/approx/edge.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/fj-kernel/src/algorithms/approx/edge.rs b/crates/fj-kernel/src/algorithms/approx/edge.rs index b43a881f0..db834a594 100644 --- a/crates/fj-kernel/src/algorithms/approx/edge.rs +++ b/crates/fj-kernel/src/algorithms/approx/edge.rs @@ -78,7 +78,7 @@ pub struct HalfEdgeApprox { /// The point that approximates the first vertex of the edge pub first: ApproxPoint<2>, - /// The approximation of the edge's curve + /// The approximation of the edge pub points: Vec>, } @@ -182,7 +182,7 @@ impl EdgeCache { Self::default() } - /// Insert the approximation of a [`GlobalCurve`] + /// Insert the approximation of a [`GlobalEdge`] pub fn insert( &mut self, handle: Handle, @@ -193,7 +193,7 @@ impl EdgeCache { approx } - /// Access the approximation for the given [`GlobalCurve`], if available + /// Access the approximation for the given [`GlobalEdge`], if available pub fn get( &self, handle: Handle, @@ -212,10 +212,10 @@ impl EdgeCache { } } -/// An approximation of a [`GlobalCurve`] +/// An approximation of a [`GlobalEdge`] #[derive(Clone, Debug, Eq, PartialEq, Hash, Ord, PartialOrd)] pub struct GlobalEdgeApprox { - /// The points that approximate the curve + /// The points that approximate the edge pub points: Vec>, }