/** * Writes the value expressed as a {@code cartographicDegrees}, which is the list of positions specified in Cartographic WGS84 coordinates, {@code [Longitude, Latitude, Height, Longitude, Latitude, Height, ...]}, where Longitude and Latitude are in degrees and Height is in meters. * @param values The values. */ public final void writeCartographicDegrees(Iterable<Cartographic> values) { final String PropertyName = CartographicDegreesPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartographicList(getOutput(), values); }
/** * Writes the value expressed as a {@code references}, which is the list of positions specified as references. Each reference is to a property that defines a single position, which may change with time. * @param references The list of references. */ public final void writeReferences(Iterable<Reference> references) { final String PropertyName = ReferencesPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReferences(getOutput(), references); }
/** * Writes the value expressed as a {@code cartesian}, which is the list of positions specified as three-dimensional Cartesian values, {@code [X, Y, Z, X, Y, Z, ...]}, in meters relative to the {@code referenceFrame}. * @param values The values. */ public final void writeCartesian(Iterable<Cartesian> values) { final String PropertyName = CartesianPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartesian3List(getOutput(), values); }
/** * Writes the value expressed as a {@code referenceFrame}, which is the reference frame in which cartesian positions are specified. Possible values are "FIXED" and "INERTIAL". If not specified, the default value is FIXED. * @param value The value. */ public final void writeReferenceFrame(String value) { final String PropertyName = ReferenceFramePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); getOutput().writeValue(value); }
/** * Writes the value expressed as a {@code cartographicRadians}, which is the list of positions specified in Cartographic WGS84 coordinates, {@code [Longitude, Latitude, Height, Longitude, Latitude, Height, ...]}, where Longitude and Latitude are in radians and Height is in meters. * @param values The values. */ public final void writeCartographicRadians(Iterable<Cartographic> values) { final String PropertyName = CartographicRadiansPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartographicList(getOutput(), values); }