ProfileMinimum


Finds the lowest value of the input profile, its precise location and the corresponding index.

Syntax

C++
C#
Python
 
def ProfileMinimum(
	inProfile: Profile,
	/,
	*,
	inRange: Range | None = None,
	inInterpolationMethod: ProfileInterpolationMethod = ProfileInterpolationMethod.Quadratic4
)
-> (
	outMinimumPoint: float,
	outMinimumIndex: int,
	outMinimumValue: float
)

Parameters

Name Type Default Description
Input value inProfile Profile Input profile
Input value inRange Range | None None
Input value inInterpolationMethod ProfileInterpolationMethod ProfileInterpolationMethod.Quadratic4 Profile points' interpolation method
Output value outMinimumPoint float Position of lowest value with respect to profile's offset and scale
Output value outMinimumIndex int Index of lowest value
Output value outMinimumValue float Lowest value