/// <summary>
        /// Writes the value expressed as a <c>distanceDisplayCondition</c>, which is the value specified as two values <c>[NearDistance, FarDistance]</c>, with distances in meters.
        /// </summary>
        /// <param name="dates">The dates at which the value is specified.</param>
        /// <param name="values">The values corresponding to each date.</param>
        /// <param name="startIndex">The index of the first element to write.</param>
        /// <param name="length">The number of elements to write.</param>
        public void WriteDistanceDisplayCondition(IList <JulianDate> dates, IList <Bounds> values, int startIndex, int length)
        {
            const string PropertyName = DistanceDisplayConditionPropertyName;

            OpenIntervalIfNecessary();
            CesiumWritingHelper.WriteBounds(Output, PropertyName, dates, values, startIndex, length);
        }
        /// <summary>
        /// Writes the value expressed as a <c>distanceDisplayCondition</c>, which is the value specified as two values <c>[NearDistance, FarDistance]</c>, with distances in meters.
        /// </summary>
        /// <param name="value">The value.</param>
        public void WriteDistanceDisplayCondition(Bounds value)
        {
            const string PropertyName = DistanceDisplayConditionPropertyName;

            OpenIntervalIfNecessary();
            Output.WritePropertyName(PropertyName);
            CesiumWritingHelper.WriteBounds(Output, value);
        }