/** * Copies this instance and returns the copy. * @return The copy. */ @Override public RectangleCoordinatesCesiumWriter clone() { return new RectangleCoordinatesCesiumWriter(this); }
/** * Writes the value expressed as a {@code wsen}, which is the set of coordinates specified as Cartographic values {@code [WestLongitude, SouthLatitude, EastLongitude, NorthLatitude]}, with values in radians. * @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 writeWsen(List<JulianDate> dates, List<CartographicExtent> values, int startIndex, int length) { final String PropertyName = WsenPropertyName; openIntervalIfNecessary(); CesiumWritingHelper.writeCartographicExtent(getOutput(), PropertyName, dates, values, startIndex, length); }
/** * Writes the value expressed as a {@code wsen}, which is the set of coordinates specified as Cartographic values {@code [WestLongitude, SouthLatitude, EastLongitude, NorthLatitude]}, with values in radians. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeWsen(List<JulianDate> dates, List<CartographicExtent> values) { writeWsen(dates, values, 0, dates.size()); }
/** * Writes the value expressed as a {@code wsenDegrees}, which is the set of coordinates specified as Cartographic values {@code [WestLongitude, SouthLatitude, EastLongitude, NorthLatitude]}, with values in degrees. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeWsenDegrees(List<JulianDate> dates, List<CartographicExtent> values) { writeWsenDegrees(dates, values, 0, dates.size()); }
/** * Writes a value for the {@code coordinates} property as a {@code reference} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param identifier The identifier of the object which contains the referenced property. * @param propertyName The property on the referenced object. */ public final void writeCoordinatesPropertyReference(String identifier, String propertyName) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeReference(identifier, propertyName); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code wsenDegrees}, which is the set of coordinates specified as Cartographic values {@code [WestLongitude, SouthLatitude, EastLongitude, NorthLatitude]}, with values in degrees. * @param west The westernmost longitude. * @param south The southernmost latitude. * @param east The easternmost longitude. * @param north The northernmost latitude. */ public final void writeWsenDegrees(double west, double south, double east, double north) { writeWsenDegrees(new CartographicExtent(west, south, east, north)); }
/** * Writes a value for the {@code coordinates} property as a {@code reference} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param value The reference. */ public final void writeCoordinatesPropertyReference(Reference value) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code wsenDegrees}, which is the set of coordinates specified as Cartographic values {@code [WestLongitude, SouthLatitude, EastLongitude, NorthLatitude]}, with values in degrees. * @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 writeWsenDegrees(List<JulianDate> dates, List<CartographicExtent> values, int startIndex, int length) { final String PropertyName = WsenDegreesPropertyName; openIntervalIfNecessary(); CesiumWritingHelper.writeCartographicExtent(getOutput(), PropertyName, dates, values, startIndex, length); }
/** * Writes the value expressed as a {@code wsen}, which is the set of coordinates specified as Cartographic values {@code [WestLongitude, SouthLatitude, EastLongitude, NorthLatitude]}, with values in radians. * @param west The westernmost longitude. * @param south The southernmost latitude. * @param east The easternmost longitude. * @param north The northernmost latitude. */ public final void writeWsen(double west, double south, double east, double north) { writeWsen(new CartographicExtent(west, south, east, north)); }
/** * Writes a value for the {@code coordinates} property as a {@code wsenDegrees} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param value The value. */ public final void writeCoordinatesPropertyWsenDegrees(CartographicExtent value) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeWsenDegrees(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code coordinates} property as a {@code reference} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param value The earliest date of the interval. */ public final void writeCoordinatesPropertyReference(String value) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
public cesiumlanguagewriter.RectangleCoordinatesCesiumWriter invoke() { return new RectangleCoordinatesCesiumWriter(CoordinatesPropertyName); } }, false);
/** * Writes the value expressed as a {@code wsenDegrees}, which is the set of coordinates specified as Cartographic values {@code [WestLongitude, SouthLatitude, EastLongitude, NorthLatitude]}, with values in degrees. * @param value The value. */ public final void writeWsenDegrees(CartographicExtent value) { final String PropertyName = WsenDegreesPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartographicExtent(getOutput(), value); }
/** * Writes a value for the {@code coordinates} property as a {@code wsen} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param value The value. */ public final void writeCoordinatesProperty(CartographicExtent value) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeWsen(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code coordinates} property as a {@code wsenDegrees} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeCoordinatesPropertyWsenDegrees(List<JulianDate> dates, List<CartographicExtent> values) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeWsenDegrees(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code coordinates} property as a {@code reference} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param identifier The identifier of the object which contains the referenced property. * @param propertyNames The hierarchy of properties to be indexed on the referenced object. */ public final void writeCoordinatesPropertyReference(String identifier, String[] propertyNames) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeReference(identifier, propertyNames); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code reference}, which is the set of coordinates specified as a reference to another property. * @param value The reference. */ public final void writeReference(Reference value) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), value); }
/** * Writes a value for the {@code coordinates} property as a {@code wsen} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeCoordinatesProperty(List<JulianDate> dates, List<CartographicExtent> values) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeWsen(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code coordinates} property as a {@code wsenDegrees} value. The {@code coordinates} property specifies the coordinates of the rectangle. This value is required. * @param west The westernmost longitude. * @param south The southernmost latitude. * @param east The easternmost longitude. * @param north The northernmost latitude. */ public final void writeCoordinatesPropertyWsenDegrees(double west, double south, double east, double north) { { cesiumlanguagewriter.RectangleCoordinatesCesiumWriter writer = openCoordinatesProperty(); try { writer.writeWsenDegrees(west, south, east, north); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code reference}, which is the set of coordinates specified as a reference to another property. * @param value The earliest date of the interval. */ public final void writeReference(String value) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), value); }