public override FilterValueSetParam GetFilterValue( MatchedEventMap matchedEvents, ExprEvaluatorContext exprEvaluatorContext, StatementContextFilterEvalEnv filterEvalEnv) { var x = XEval.GetFilterValueDouble(matchedEvents, exprEvaluatorContext, filterEvalEnv); var y = YEval.GetFilterValueDouble(matchedEvents, exprEvaluatorContext, filterEvalEnv); var point = new XYPoint(x, y); var lookupable = this.lkupable.Make(matchedEvents, exprEvaluatorContext); return new FilterValueSetParamImpl(lookupable, FilterOperator, point); }
public override FilterValueSetParam GetFilterValue( MatchedEventMap matchedEvents, ExprEvaluatorContext exprEvaluatorContext, StatementContextFilterEvalEnv filterEvalEnv) { var x = XEval.GetFilterValueDouble(matchedEvents, exprEvaluatorContext, filterEvalEnv); var y = YEval.GetFilterValueDouble(matchedEvents, exprEvaluatorContext, filterEvalEnv); var width = WidthEval.GetFilterValueDouble(matchedEvents, exprEvaluatorContext, filterEvalEnv); var height = HeightEval.GetFilterValueDouble(matchedEvents, exprEvaluatorContext, filterEvalEnv); var rectangle = new XYWHRectangle(x, y, width, height); var lookupable = lkupable.Make(matchedEvents, exprEvaluatorContext); return new FilterValueSetParamImpl(lookupable, FilterOperator, rectangle); }