You are here: Start » AVL.NET » Function Reference » Surface » Surface Interpolations » AVL.SmoothSurface_Mean
Smooths a surface by averaging heights within a rectangular kernel.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SmoothSurface_Mean ( AvlNet.Surface inSurface, AvlNet.KernelShape inKernel, int inRadiusX, AvlNet.Surface outSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | ||||
inKernel | AvlNet.KernelShape | Kernel shape. | |||
inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. | |
outSurface | AvlNet.Surface |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region of interest exceeds an input surface in SmoothSurface_Mean. |