/** * Writes the value expressed as a {@code cartographicDegrees}, which is the position specified in Cartographic WGS84 coordinates, {@code [Longitude, Latitude, Height]}, where Longitude and Latitude are in degrees and Height is in meters. * @param value The interval. */ public final void writeCartographicDegrees(@Nonnull Cartographic value) { final String PropertyName = CartographicDegreesPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartographic(getOutput(), value); }
/** * Writes the value expressed as a {@code cartesian}, which is the position specified as a three-dimensional Cartesian value, {@code [X, Y, Z]}, in meters relative to the {@code referenceFrame}. * @param value The value. */ public final void writeCartesian(@Nonnull Cartesian value) { final String PropertyName = CartesianPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartesian3(getOutput(), value); }
/** * Writes the value expressed as a {@code cartesianVelocity}, which is the position and velocity specified as a three-dimensional Cartesian value and its derivative, {@code [X, Y, Z, dX, dY, dZ]}, in meters relative to the {@code referenceFrame}. * @param value The value. */ public final void writeCartesianVelocity(@Nonnull Motion1<Cartesian> value) { final String PropertyName = CartesianVelocityPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartesian3Velocity(getOutput(), value); }
/** * Writes the value expressed as a {@code reference}, which is the position 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 position 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 cartographicRadians}, which is the position specified in Cartographic WGS84 coordinates, {@code [Longitude, Latitude, Height]}, where Longitude and Latitude are in radians and Height is in meters. * @param value The interval. */ public final void writeCartographicRadians(@Nonnull Cartographic value) { final String PropertyName = CartographicRadiansPropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartographic(getOutput(), value); }
/** * 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 reference}, which is the position 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 position 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); }
/** * Writes the value expressed as a {@code cartographicDegrees}, which is the position specified in Cartographic WGS84 coordinates, {@code [Longitude, Latitude, Height]}, where Longitude and Latitude are in degrees and Height is in meters. * @param dates The dates at which the value is specified. * @param values The position 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 writeCartographicDegrees(List<JulianDate> dates, List<Cartographic> values, int startIndex, int length) { final String PropertyName = CartographicDegreesPropertyName; openIntervalIfNecessary(); CesiumWritingHelper.writeCartographic(getOutput(), PropertyName, dates, values, startIndex, length); }
/** * Writes the value expressed as a {@code cartographicRadians}, which is the position specified in Cartographic WGS84 coordinates, {@code [Longitude, Latitude, Height]}, where Longitude and Latitude are in radians and Height is in meters. * @param dates The dates at which the value is specified. * @param values The position 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 writeCartographicRadians(List<JulianDate> dates, List<Cartographic> values, int startIndex, int length) { final String PropertyName = CartographicRadiansPropertyName; openIntervalIfNecessary(); CesiumWritingHelper.writeCartographic(getOutput(), PropertyName, dates, values, startIndex, length); }
/** * Writes the value expressed as a {@code cartesian}, which is the position specified as a three-dimensional Cartesian value, {@code [X, Y, Z]}, in meters relative to the {@code referenceFrame}. * @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 writeCartesian(List<JulianDate> dates, List<Cartesian> values, int startIndex, int length) { final String PropertyName = CartesianPropertyName; openIntervalIfNecessary(); CesiumWritingHelper.writeCartesian3(getOutput(), PropertyName, dates, values, startIndex, length); }
/** * Writes the value expressed as a {@code cartesianVelocity}, which is the position and velocity specified as a three-dimensional Cartesian value and its derivative, {@code [X, Y, Z, dX, dY, dZ]}, in meters relative to the {@code referenceFrame}. * @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 writeCartesianVelocity(List<JulianDate> dates, List<Motion1<Cartesian>> values, int startIndex, int length) { final String PropertyName = CartesianVelocityPropertyName; openIntervalIfNecessary(); CesiumWritingHelper.writeCartesian3Velocity(getOutput(), PropertyName, dates, values, startIndex, length); }