/** * Writes the value expressed as a {@code cartesian2}, which is the number of grid lines along each axis. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeCartesian2(List<JulianDate> dates, List<Rectangular> values) { writeCartesian2(dates, values, 0, dates.size()); }
/** * Writes the value expressed as a {@code cartesian2}, which is the number of grid lines along each axis. * @param x The X component. * @param y The Y component. */ public final void writeCartesian2(double x, double y) { writeCartesian2(new Rectangular(x, y)); }
/** * Writes a value for the {@code lineCount} property as a {@code cartesian2} value. The {@code lineCount} property specifies the number of grid lines along each axis. If not specified, the default value is [8, 8]. * @param value The value. */ public final void writeLineCountProperty(@Nonnull Rectangular value) { { cesiumlanguagewriter.LineCountCesiumWriter writer = openLineCountProperty(); try { writer.writeCartesian2(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code lineCount} property as a {@code cartesian2} value. The {@code lineCount} property specifies the number of grid lines along each axis. If not specified, the default value is [8, 8]. * @param x The X component. * @param y The Y component. */ public final void writeLineCountProperty(double x, double y) { { cesiumlanguagewriter.LineCountCesiumWriter writer = openLineCountProperty(); try { writer.writeCartesian2(x, y); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code lineCount} property as a {@code cartesian2} value. The {@code lineCount} property specifies the number of grid lines along each axis. If not specified, the default value is [8, 8]. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeLineCountProperty(List<JulianDate> dates, List<Rectangular> values) { { cesiumlanguagewriter.LineCountCesiumWriter writer = openLineCountProperty(); try { writer.writeCartesian2(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code lineCount} property as a {@code cartesian2} value. The {@code lineCount} property specifies the number of grid lines along each axis. If not specified, the default value is [8, 8]. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. * @param startIndex The index of the first element to write. * @param length The number of elements to write. */ public final void writeLineCountProperty(List<JulianDate> dates, List<Rectangular> values, int startIndex, int length) { { cesiumlanguagewriter.LineCountCesiumWriter writer = openLineCountProperty(); try { writer.writeCartesian2(dates, values, startIndex, length); } finally { DisposeHelper.dispose(writer); } } }