Click or drag to resize

SolverConstraintSettings.EqualityWithinTolerance Method

Calculates if the absolute value of the current constraint value minus the DesiredValue (i.e. the constraint error) is smaller than or equal to the Tolerance.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public bool EqualityWithinTolerance(
	double currentEqualityValue
)

Parameters

currentEqualityValue
Type: System.Double

Return Value

Type: Boolean
true if the current constraint error is within the tolerance and false if the current constraint error is outside the tolerance.
See Also