nn::nex::ErrorToleranceFunction::SetParameters Member Function

Syntax

void SetParameters(
     qReal dConstantFactor,
     qReal dLinearFactor,
     qReal dQuadraticFactor,
     qReal dMaximumError = UNLIMITED_ERROR
);

Parameters

Name Description
in dConstantFactor Parameter representing the zero order term coefficient.
in dLinearFactor Parameter representing the first order term coefficient.
in dQuadraticFactor Parameter representing the second order term coefficient.
in dMaximumError Specifies the maximum error value. Values exceeding this maximum are clamped to the specified value.

Return Values

None.

Description

Sets parameters used to calculate the error tolerance.

The following functions are provided so you can set parameters more easily. These functions are trouble-free under normal circumstances.
ErrorToleranceFunctionSetConstantError
ErrorToleranceFunctionSetLinearError
ErrorToleranceFunctionSetQuadraticError

For more information, see the programming manual.

See Also

ErrorToleranceFunction::SetConstantError, ErrorToleranceFunction::SetLinearError, ErrorToleranceFunction::SetQuadraticError

Revision History

2012/08/31
Initial version.

CONFIDENTIAL