You are here: Start » AVL.NET » Invoke.ProfileLocalExtrema

Invoke.ProfileLocalExtrema

Finds the locations at which the values of the input profile are locally highest or lowest.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ProfileLocalExtrema
(
	Avl.Profile inProfile,
	Optional<Avl.Range> inRange,
	bool inCyclic,
	Avl.ExtremumType inExtremumType,
	Avl.ProfileInterpolationMethod inInterpolationMethod,
	bool inConsiderPlateaus,
	Optional<float> inMinValue,
	Optional<float> inMaxValue,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	List<Avl.Extremum1D> outLocalExtrema
)

Parameters

Name Type Range Default Description
inProfileAvl.ProfileInput profile.
inRangeAtl.Optional<Avl.Range>
inCyclicboolIndicates whether the last element should be considered a neighbour of the first element.
inExtremumTypeAvl.ExtremumTypeType of extremum to find.
inInterpolationMethodAvl.ProfileInterpolationMethodQuadratic4When interpolation is set to Quadratic each non-plateau extremum is located using a parabola fit. Default value: Quadratic4.
inConsiderPlateausboolTrueIndicates whether the result should include centers of plateau extrema. Default value: True.
inMinValueAtl.Optional<float>Minimum value of an extremum. Default value: atl::NIL.
inMaxValueAtl.Optional<float>Maximum value of an extremum. Default value: atl::NIL.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker extrema can be detected in the vicinity of stronger ones. Default value: atl::NIL.
outLocalExtremaSystem.Collections.Generic.List<Avl.Extremum1D>Extrema of the profile values.

See also