You are here: Start » AVL.NET » Function Reference » Profile » Profile Features » AVL.ProfileMinimum
Finds the lowest value of the input profile, its precise location and the corresponding index.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ProfileMinimum ( AvlNet.Profile inProfile, AvlNet.Range? inRange, AvlNet.ProfileInterpolationMethod inInterpolationMethod, out float outMinimumPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | AvlNet.Profile | Input profile. | |||
inRange | AvlNet.Range? | ||||
inInterpolationMethod | AvlNet.ProfileInterpolationMethod | Quadratic4 | Profile points' interpolation method. Default value: Quadratic4. | ||
outMinimumPoint | float | Position of lowest value with respect to profile's offset and scale. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty profile in ProfileMinimum. |
DomainError | Empty profile range in ProfileMinimum. |
DomainError | Range exceeds the input profile in ProfileMinimum. |
DomainError | Unsupported interpolation method in ProfileMinimum. |
Function Overrides
- ProfileMinimum(Profile, ProfileInterpolationMethod, Single)
- ProfileMinimum(Profile, Nullable<Range>, ProfileInterpolationMethod, Single, Int32, Single)
- ProfileMinimum(Profile, Nullable<Range>, ProfileInterpolationMethod, Single, NullableValue<Int32>, NullableValue<Single>)