ProfileMaximum
Finds the highest value of the input profile, its precise location and the corresponding index.
Syntax
C++
C#
Python
def ProfileMaximum( inProfile: Profile, /, *, inRange: Range | None = None, inInterpolationMethod: ProfileInterpolationMethod = ProfileInterpolationMethod.Quadratic4 ) -> ( outMaximumPoint: float, outMaximumIndex: int, outMaximumValue: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inProfile | Profile | Input profile | |
![]() |
inRange | Range | None | None | |
![]() |
inInterpolationMethod | ProfileInterpolationMethod | ProfileInterpolationMethod.Quadratic4 | Profile points' interpolation method |
![]() |
outMaximumPoint | float | Position of highest value with respect to profile's offset and scale | |
![]() |
outMaximumIndex | int | Index of highest value | |
![]() |
outMaximumValue | float | Highest value |


