public class AccumulationStrategyAmountOfPoints extends AAccumulationStrategy
amountOfPoints
consecutive points without caring for data density. Best use this
whenever you have unordered (by x value) traces.
IAccumulationStrategy.AccumulationControlConsecutivePoints, IAccumulationStrategy.IAccumulationControlm_propertyChangeSupport, PROPERTY_ACCUMULATION_FUNCTION| Constructor and Description |
|---|
AccumulationStrategyAmountOfPoints(IAccumulationFunction accumulationFunction)
Constructor taking the accumulation function to use.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ITracePoint2D> |
iterator(ITrace2D source,
int amountOfPoints)
Template method to return an iterator over accumulated points.
|
addPropertyChangeListener, firePropertyChange, getAccumulationFunction, removePropertyChangeListener, removePropertyChangeListener, setAccumulationFunctionpublic AccumulationStrategyAmountOfPoints(IAccumulationFunction accumulationFunction)
accumulationFunction - the accumulation function to use.public Iterator<ITracePoint2D> iterator(ITrace2D source, int amountOfPoints)
IAccumulationStrategyiterator in interface IAccumulationStrategyiterator in class AAccumulationStrategysource - the real points of this trace.amountOfPoints - would allow to filter out points to accumulate by just taking n
consecutive trace points.AAccumulationStrategy.iterator(info.monitorenter.gui.chart.ITrace2D, int)Copyright © 2017. All rights reserved.