You are here: Start » AVL.NET » AVL.ProfileLocalExtrema(AvlNet.Profile, bool, AvlNet.ExtremumType, AvlNet.ProfileInterpolationMethod, bool, float[], float[])
AVL.ProfileLocalExtrema(AvlNet.Profile, bool, AvlNet.ExtremumType, AvlNet.ProfileInterpolationMethod, bool, float[], float[])
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 float[] outExtremumPoints, out float[] outExtremumValues )
Parameters
- inProfile
- Type: AvlNet.Profile
Input profile - inCyclic
- Type: System.Boolean
Indicates whether the last element should be considered a neighbour of the first element - inExtremumType
- Type: AvlNet.ExtremumType
Type of extremum to find - inInterpolationMethod
- Type: AvlNet.ProfileInterpolationMethod
When interpolation is set to Quadratic each non-plateau minimum is located using a parabola fit - inConsiderPlateaus
- Type: System.Boolean
Indicates whether the result should include centers of plateau minima - outExtremumPoints
- Type: System.Single
Precise location of the profile minima - outExtremumValues
- Type: System.Single
Value of each minimum
