Ejemplo n.º 1
0
 /**
  * Writes the <code>viewFrom</code> property. The <code>viewFrom</code> property specifies a
  * suggested camera location when viewing this object. The property is specified as a Cartesian
  * position in the East (x), North (y), Up (z) reference frame relative to the objects position
  * property.
  *
  * @param dates The dates at which the vector is specified.
  * @param values The values corresponding to each date.
  * @param startIndex The index of the first element to use in the `values` collection.
  * @param length The number of elements to use from the `values` collection.
  */
 public final void writeViewFrom(
     List<JulianDate> dates, List<Cartesian> values, int startIndex, int length) {
   String PropertyName = ViewFromPropertyName;
   getOutput().writePropertyName(PropertyName);
   CesiumWritingHelper.writeCartesian3(
       getOutput(), PropertyName, dates, values, startIndex, length);
 }
Ejemplo n.º 2
0
 /**
  * Writes the <code>viewFrom</code> property. The <code>viewFrom</code> property specifies a
  * suggested camera location when viewing this object. The property is specified as a Cartesian
  * position in the East (x), North (y), Up (z) reference frame relative to the objects position
  * property.
  *
  * @param value The value.
  */
 public final void writeViewFrom(Cartesian value) {
   String PropertyName = ViewFromPropertyName;
   getOutput().writePropertyName(PropertyName);
   CesiumWritingHelper.writeCartesian3(getOutput(), value);
 }