double[] zs = new double[numPoints];
for (int i = 0; i < numPoints; i++) {
zs[i] = iStream.readLEDouble();
}
OMGraphic omg = (OMGraphic) ret;
omg.putAttribute(ShapeConstants.SHAPE_MIN_Z_ATTRIBUTE, new Double(minZ));
omg.putAttribute(ShapeConstants.SHAPE_MAX_Z_ATTRIBUTE, new Double(maxZ));
omg.putAttribute(ShapeConstants.SHAPE_Z_ATTRIBUTE, zs);
byteTracker.addRead((2 + numPoints) * 8);
if (byteTracker.numLeft() > 0) {
double minM = iStream.readLEDouble();
double maxM = iStream.readLEDouble();
double[] ms = new double[numPoints];
for (int i = 0; i < numPoints; i++) {
ms[i] = iStream.readLEDouble();
}
omg.putAttribute(ShapeConstants.SHAPE_MIN_MEASURE_ATTRIBUTE,
new Double(minM));
omg.putAttribute(ShapeConstants.SHAPE_MAX_MEASURE_ATTRIBUTE,
new Double(maxM));
omg.putAttribute(ShapeConstants.SHAPE_MEASURE_ATTRIBUTE, ms);
byteTracker.addRead((2 + numPoints) * 8);
}
return ret;
}