public class JDXDecompressor
extends java.lang.Object
Coordinate.parseDSV(java.lang.String, double, double)
Constructor and Description |
---|
JDXDecompressor(JDXSourceStreamTokenizer t,
double firstX,
double xFactor,
double yFactor,
double deltaX,
int nPoints)
Initialises the
JDXDecompressor from the compressed data, the
x factor, the y factor and the deltaX value |
Modifier and Type | Method and Description |
---|---|
Coordinate[] |
decompressData(java.lang.StringBuffer errorLog,
double[] firstLastX)
Determines the type of compression, decompresses the data and stores
coordinates in an array to be returned
|
double |
getMaxY() |
double |
getMinY() |
public JDXDecompressor(JDXSourceStreamTokenizer t, double firstX, double xFactor, double yFactor, double deltaX, int nPoints)
JDXDecompressor
from the compressed data, the
x factor, the y factor and the deltaX valuet
- the data to be decompressedfirstX
- TODOxFactor
- the x factoryFactor
- the y factordeltaX
- the delta X valuenPoints
- the expected number of pointspublic double getMinY()
public double getMaxY()
public Coordinate[] decompressData(java.lang.StringBuffer errorLog, double[] firstLastX)
errorLog
- firstLastX
- Coordinate
s