PointResamplerBase
StockSharp.Xaml.Charting.Numerics
Реализует: IPointResampler
Методы
ReducePointUnevenImpl(UncheckedList<double>, UncheckedList<double>, Point2DSeries, int, int, double, double, int, bool)
This needs to be implemented for each supported pair of TX,TY. Maybe use T4 templates? For optimal performance, this method should be implemented in C++/ASM and not just the GetMinMaxValuesForPixel method (this avoid per-pixel unmanaged call transitions). However, that would also require that reducedPoints is passed as pre-allocated buffer and not as a Point2DSeries. NaN handling makes it a bit difficult to pre-allocate though (since NaNs can cause multiple lines per pixel).
ReducePointUnevenImpl``2(UncheckedList<T>, UncheckedList<T>, Point2DSeries, int, int, double, double, int, bool)
Generic implementation where an unchecked list has been retrieved for x- and y-values.