예제 #1
0
        internal IReadOnlyCollection <Point> Build()
        {
            var function = new FunctionDeterminant().GetFunction(_function);

            var h = (_max - _min) / (_count - 1);

            var spots = new List <Point>();

            for (var x = _min; x <= _max; x += h)
            {
                spots.Add(new Point(x, function(x, _a, _b, _c)));
            }

            _recorder.RecordSource(spots);

            return(spots);
        }