Ejemplo n.º 1
0
 /**
  * Writes a value for the <code>position</code> property as a <code>cartesian</code> value. The
  * <code>position</code> property specifies the position of the object in the world. The position
  * has no direct visual representation, but it is used to locate billboards, labels, and other
  * primitives attached to the object.
  *
  * @param dates The dates at which the vector is specified.
  * @param values The values corresponding to each date.
  */
 public final void writePositionProperty(List<JulianDate> dates, List<Cartesian> values) {
   {
     cesiumlanguagewriter.PositionCesiumWriter writer = openPositionProperty();
     try {
       writer.writeCartesian(dates, values);
     } finally {
       DisposeHelper.dispose(writer);
     }
   }
 }
Ejemplo n.º 2
0
 /**
  * Writes a value for the <code>position</code> property as a <code>cartographicDegrees</code>
  * value. The <code>position</code> property specifies the position of the object in the world.
  * The position has no direct visual representation, but it is used to locate billboards, labels,
  * and other primitives attached to the object.
  *
  * @param value The interval.
  */
 public final void writePositionPropertyCartographicDegrees(Cartographic value) {
   {
     cesiumlanguagewriter.PositionCesiumWriter writer = openPositionProperty();
     try {
       writer.writeCartographicDegrees(value);
     } finally {
       DisposeHelper.dispose(writer);
     }
   }
 }
Ejemplo n.º 3
0
 /**
  * Writes a value for the <code>position</code> property as a <code>cartesian</code> value. The
  * <code>position</code> property specifies the position of the object in the world. The position
  * has no direct visual representation, but it is used to locate billboards, labels, and other
  * primitives attached to the object.
  *
  * @param value The value.
  */
 public final void writePositionProperty(Cartesian value) {
   {
     cesiumlanguagewriter.PositionCesiumWriter writer = openPositionProperty();
     try {
       writer.writeCartesian(value);
     } finally {
       DisposeHelper.dispose(writer);
     }
   }
 }
Ejemplo n.º 4
0
 /**
  * Writes a value for the <code>position</code> property as a <code>cartographicDegrees</code>
  * value. The <code>position</code> property specifies the position of the object in the world.
  * The position has no direct visual representation, but it is used to locate billboards, labels,
  * and other primitives attached to the object.
  *
  * @param dates The dates at which the vector is specified.
  * @param values The position 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 writePositionPropertyCartographicDegrees(
     List<JulianDate> dates, List<Cartographic> values, int startIndex, int length) {
   {
     cesiumlanguagewriter.PositionCesiumWriter writer = openPositionProperty();
     try {
       writer.writeCartographicDegrees(dates, values, startIndex, length);
     } finally {
       DisposeHelper.dispose(writer);
     }
   }
 }