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)
Syntaxpublic bool EqualityWithinTolerance(
double currentEqualityValue
)
Public Function EqualityWithinTolerance (
currentEqualityValue As Double
) As Boolean
public:
bool EqualityWithinTolerance(
double currentEqualityValue
)
member EqualityWithinTolerance :
currentEqualityValue : float -> bool
Parameters
- currentEqualityValue
- Type: System.Double
Return Value
Type:
Booleantrue if the current constraint error is within the tolerance and
false if the current constraint error is outside the tolerance.
See Also