You are here: Start » FIL.NET » FIL.ProfileMaximum
Finds the highest value of the input profile, its precise location and the corresponding index.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ProfileMaximum ( FilNet.Profile inProfile, FilNet.Range? inRange, FilNet.ProfileInterpolationMethod inInterpolationMethod, out float outMaximumPoint, out int outMaximumIndex, out float outMaximumValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inProfile | FilNet.Profile | Input profile. | ||
![]() | inRange | FilNet.Range? | |||
![]() | inInterpolationMethod | FilNet.ProfileInterpolationMethod | Quadratic4 | Profile points' interpolation method. Default value: Quadratic4. | |
![]() | outMaximumPoint | float | Position of highest value with respect to profile's offset and scale. | ||
![]() | outMaximumIndex | int | Index of highest value. | ||
![]() | outMaximumValue | float | Highest value. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty profile in ProfileMaximum. |
DomainError | Empty profile range in ProfileMaximum. |
DomainError | Range exceeds the input profile in ProfileMaximum. |
Function Overrides
- ProfileMaximum(Profile, ProfileInterpolationMethod, Single)
- ProfileMaximum(Profile, Nullable<Range>, ProfileInterpolationMethod, Single)
- ProfileMaximum(Profile, ProfileInterpolationMethod, Single, NullableValue<Int32>, NullableValue<Single>)
- ProfileMaximum(Profile, Nullable<Range>, ProfileInterpolationMethod, Single, NullableValue<Int32>, NullableValue<Single>)