From 02a15aeb23b53bcc8ef3310793190f5fcf2ca170 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 9 Apr 2025 12:02:56 +0200 Subject: [PATCH] Add comment --- experiments/2025-03-18/src/geometry/surface.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/experiments/2025-03-18/src/geometry/surface.rs b/experiments/2025-03-18/src/geometry/surface.rs index 46dbb6dfe..a4814749c 100644 --- a/experiments/2025-03-18/src/geometry/surface.rs +++ b/experiments/2025-03-18/src/geometry/surface.rs @@ -77,6 +77,12 @@ impl SurfaceGeometry for SweptCurve { } fn approximate(&self, _: &Polygon) -> Vec> { + // In a swept curve, the curve sweeps along a straight path. So the + // surface is only curved along one dimension. + // + // As a result, all points that could possibly be needed to approximate + // the surface, are already on the provided boundary. As per the + // contract of this method, we must not return those. vec![] } }