You are here: Start » FIL.NET » FIL.ProfileMaximum

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
inProfileFilNet.ProfileInput profile.
inRangeFilNet.Range?
inInterpolationMethodFilNet.ProfileInterpolationMethodQuadratic4Profile points' interpolation method. Default value: Quadratic4.
outMaximumPointfloatPosition of highest value with respect to profile's offset and scale.
outMaximumIndexintIndex of highest value.
outMaximumValuefloatHighest 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

See also