Пример #1
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);
     }
   }
 }
Пример #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 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);
     }
   }
 }