You are here: Start » AVL.NET » Invoke.ProfileMaximum
Finds the highest value of the input profile, its precise location and the corresponding index.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void ProfileMaximum ( Avl.Profile inProfile, Optional<Avl.Range> inRange, Avl.ProfileInterpolationMethod inInterpolationMethod, out float outMaximumPoint, Optional<int> outMaximumIndex, Optional<float> outMaximumValue )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inProfile | Avl.Profile | Input profile. | ||
![]()  | inRange | Atl.Optional<Avl.Range> | |||
![]()  | inInterpolationMethod | Avl.ProfileInterpolationMethod | Quadratic4 | Profile points' interpolation method. Default value: Quadratic4. | |
![]()  | outMaximumPoint | float | Position of highest value with respect to profile's offset and scale. | ||
![]()  | outMaximumIndex | Atl.Optional<int> | Index of highest value. | ||
![]()  | outMaximumValue | Atl.Optional<float> | Highest value. | 


