You are here: Start » AVL.NET » Function Reference » Profile » Profile Features » AVL.ProfileAverage

AVL.ProfileAverage

Computes the average value of a profile.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ProfileAverage
(
	AvlNet.Profile inProfile,
	AvlNet.Range? inRange,
	out float outAverage
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
inRangeAvlNet.Range?
outAveragefloat

Errors

List of possible exceptions:

Error type Description
DomainError Empty profile in ProfileAverage.
DomainError Empty profile range in ProfileAverage.
DomainError Range exceeds the input profile in ProfileAverage.

Function Overrides

See also