You are here: Start » AVL.NET » Function Reference » Profile » Profile Features » 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 | |
---|---|---|---|---|---|
inProfile | AvlNet.Profile | Input profile. | |||
inRange | AvlNet.Range? | ||||
outAverage | float |
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. |