You are here: Start » AVL.NET » Function Reference » Profile » Profile Local Transforms » AVL.SmoothProfile_Mean

AVL.SmoothProfile_Mean

Smooths a profile by averaging points within a kernel.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SmoothProfile_Mean
(
	AvlNet.Profile inProfile,
	AvlNet.Range? inRange,
	int inKernelRadius,
	bool inCyclic,
	AvlNet.Profile outProfile
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
inRangeAvlNet.Range?
inKernelRadiusint<0, INF>3Defines the width of the kernel as '2 * inKernelRadius + 1'. Default value: 3.
inCyclicboolDefines whether the first element should be considered adjacent to the last element.
outProfileAvlNet.ProfileOutput profile.

Errors

List of possible exceptions:

Error type Description
DomainError Range exceeds the input profile in SmoothProfile_Mean.

Function Overrides

See also