FilterDoubleRule
Constructor
Description:
Constructs an instance of FilterDoubleRule.
Constructs an instance of FilterDoubleRule.
Syntax
public FilterDoubleRule(
FilterableValueProvider valueProvider,
FilterNumericRuleEvaluator evaluator,
double ruleValue,
double epsilon
)
Parameters
Parameter | Type | Description |
---|---|---|
valueProvider | FilterableValueProvider | A pointer to a "value provider" object that will extract values from a Revit document. |
evaluator | FilterNumericRuleEvaluator | A pointer to the filter rule evaluator object that implements the desired test. The built-in evaluators implement commonly used tests such as less-than, greater-than less-than-or-equal-to, equal, etc. |
ruleValue | Double | The user-supplied value against which values from a Revit document will be tested. |
epsilon | Double | The tolerance within which two floating-point values may be considered equal. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | The given value for ruleValue is not finite -or- The given value for ruleValue is not a number -or- The given value for epsilon is not finite -or- The given value for epsilon is not a number |
ArgumentNullException | A non-optional argument was null |