/** * 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 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 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 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 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); }
/** * Writes the value expressed as a {@code reference}, which is the set of coordinates specified as a reference to another property. * @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 writeReference(String identifier, String[] propertyNames) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); }
/** * 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 value The value. */ public final void writeWsen(CartographicExtent value) { final String PropertyName = WsenPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartographicExtent(getOutput(), value); }
/** * Writes the value expressed as a {@code reference}, which is the set of coordinates specified as a reference to another property. * @param identifier The identifier of the object which contains the referenced property. * @param propertyName The property on the referenced object. */ public final void writeReference(String identifier, String propertyName) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), identifier, propertyName); }