You are here: Start » AVL.NET » AVL.ProfileLocalExtrema Method
AVL.ProfileLocalExtrema Method
Finds the locations at which the values of the input profile are locally highest or lowest.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ProfileLocalExtrema( AvlNet.Profile inProfile, bool inCyclic, AvlNet.ExtremumType inExtremumType, AvlNet.ProfileInterpolationMethod inInterpolationMethod, bool inConsiderPlateaus, out int[] outExtremumIndices, out float[] outExtremumPoints, out float[] outExtremumValues )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | AvlNet.Profile | Input profile. | |||
inCyclic | bool | Indicates whether the last element should be considered a neighbour of the first element. | |||
inExtremumType | AvlNet.ExtremumType | Type of extremum to find. | |||
inInterpolationMethod | AvlNet.ProfileInterpolationMethod | Quadratic4 | When interpolation is set to Quadratic each non-plateau minimum is located using a parabola fit. Default value: Quadratic4. | ||
inConsiderPlateaus | bool | True | Indicates whether the result should include centers of plateau minima. Default value: True. | ||
outExtremumIndices | int | Indices of the profile values representing each minimum | |||
outExtremumPoints | float | Precise location of the profile minima. | |||
outExtremumValues | float | Value of each minimum. |