public class MaxDataReducer extends Object implements RendererDataReducer
| Constructor and Description |
|---|
MaxDataReducer() |
| Modifier and Type | Method and Description |
|---|---|
int |
reducePoints(double[] xValues,
double[] yValues,
double[] xPointErrorsPos,
double[] xPointErrorsNeg,
double[] yPointErrorsPos,
double[] yPointErrorsNeg,
String[] styles,
boolean[] pointSelected,
int indexMin,
int indexMax)
Internal function to the ErrorDataSetRenderer arrays are cached copies and operations are assumed to be performed
in-place (<-> for performance reasons/minimisation of memory allocation)
|
public int reducePoints(double[] xValues,
double[] yValues,
double[] xPointErrorsPos,
double[] xPointErrorsNeg,
double[] yPointErrorsPos,
double[] yPointErrorsNeg,
String[] styles,
boolean[] pointSelected,
int indexMin,
int indexMax)
RendererDataReducerreducePoints in interface RendererDataReducerxValues - array of x coordinatesyValues - array of y coordinatesxPointErrorsPos - array of coordinates containing x+expxPointErrorsNeg - array of coordinates containing x-exnyPointErrorsPos - array of coordinates containing x+eypyPointErrorsNeg - array of coordinates containing x+eynstyles - point stylespointSelected - array containing the points that have been specially selected by the userindexMin - minimum index of those array that shall be consideredindexMax - maximum index of those array that shall be consideredCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.