You are here: Start » AVL.NET » AVL.ProfileMaximum Method

AVL.ProfileMaximum Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ProfileMaximum(
	AvlNet.Profile inProfile,
	AvlNet.ProfileInterpolationMethod inInterpolationMethod,
	out float outMaximumPoint,
	out int outMaximumIndex,
	out float outMaximumValue
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
inInterpolationMethodAvlNet.ProfileInterpolationMethodQuadratic4Default value: Quadratic4.
outMaximumPointfloat
outMaximumIndexint
outMaximumValuefloat

Errors

Error type Description
DomainError Empty profile in ProfileMaximum.

See also