You are here: Start » AVL.NET » AVL.ProfileMaximum
Finds the highest value of the input profile, its precise location and the corresponding index.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ProfileMaximum ( AvlNet.Profile inProfile, AvlNet.ProfileInterpolationMethod inInterpolationMethod, out float outMaximumPoint, out int outMaximumIndex, out float outMaximumValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | AvlNet.Profile | Input profile. | |||
inInterpolationMethod | AvlNet.ProfileInterpolationMethod | Quadratic4 | Profile points' interpolation method. Default value: Quadratic4. | ||
outMaximumPoint | float | Position of highest value with respect to profile's offset and scale. | |||
outMaximumIndex | int | Index of highest value. | |||
outMaximumValue | float | Highest value. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty profile in ProfileMaximum. |