Skip to content

Function: smoothSurfaceValuesSteps() ​

ts
function smoothSurfaceValuesSteps(
   metric, 
   values, 
   smoothing, 
   options?
): Generator<void, SurfaceComputationResult, void>;

Defined in: geometry/SurfaceSmoothing.ts:90

Bounded row-at-a-time alternative: retains no K-entry plan, but recomputes neighborhoods per call.

Parameters ​

metric ​

SurfaceMetric

values ​

ArrayLike<number>

smoothing ​

SurfaceSmoothingOptions

options? ​

ApplySurfaceOptions = {}

Returns ​

Generator<void, SurfaceComputationResult, void>

Released under the MIT License.