/** * Writes a {@link Bounds} value as an array in LowerBound, UpperBound order. * @param output The stream to which to write the value. * @param value The value to write. */ public static void writeBounds(CesiumOutputStream output, @Nonnull Bounds value) { output.writeStartSequence(); output.writeValue(value.getLowerBound()); output.writeValue(value.getUpperBound()); output.writeEndSequence(); }
Bounds value = values.get(i); output.writeValue(value.getLowerBound()); output.writeValue(value.getUpperBound()); output.writeLineBreak();