You are here: Start » AVL.NET » AVS.ProfileLocalExtrema Method
AVS.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, float? inMinValue, float? inMaxValue, IList<AvlNet.Extremum1D> outLocalExtrema )
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 extremum is located using a parabola fit. Default value: Quadratic4. | ||
inConsiderPlateaus | bool | True | Indicates whether the result should include centers of plateau extrema. Default value: True. | ||
inMinValue | float? | Minimum value of an extremum. Default value: atl::NIL. | |||
inMaxValue | float? | Maximum value of an extremum. Default value: atl::NIL. | |||
outLocalExtrema | System.Collections.Generic.IList<AvlNet.Extremum1D> | Extrema of the profile values. |