Tabnine Logo
CustomPropertyCesiumWriter.writeCartesian
Code IndexAdd Tabnine to your IDE (free)

How to use
writeCartesian
method
in
cesiumlanguagewriter.CustomPropertyCesiumWriter

Best Java code snippets using cesiumlanguagewriter.CustomPropertyCesiumWriter.writeCartesian (Showing top 6 results out of 315)

origin: AnalyticalGraphicsInc/czml-writer

/**
*  
Writes the value expressed as a {@code cartesian}, which is the property specified as a three-dimensional Cartesian value {@code [X, Y, Z]}.



* @param dates The dates at which the value is specified.
* @param values The values corresponding to each date.
*/
public final void writeCartesian(List<JulianDate> dates, List<Cartesian> values) {
  writeCartesian(dates, values, 0, dates.size());
}
origin: AnalyticalGraphicsInc/czml-writer

  dates.add(m_startDate.addSeconds(120.0));
  values.add(new Cartesian(7.0, 8.0, 9.0));
  customPropertyWriter.writeCartesian(dates, values);
} finally {
  DisposeHelper.dispose(customPropertyWriter);
origin: AnalyticalGraphicsInc/czml-writer

  dates.add(m_startDate.addSeconds(120.0));
  values.add(new Cartesian(7.0, 8.0, 9.0));
  customPropertyWriter.writeCartesian(dates, values);
} finally {
  DisposeHelper.dispose(customPropertyWriter);
origin: AnalyticalGraphicsInc/czml-writer

@Test
public final void customPropertyCartesianConstant() {
  {
    final PacketCesiumWriter usingExpression_2 = (getPacket());
    try {
      {
        cesiumlanguagewriter.CustomPropertiesCesiumWriter customPropertiesWriter = getPacket().openPropertiesProperty();
        try {
          {
            cesiumlanguagewriter.CustomPropertyCesiumWriter customPropertyWriter = customPropertiesWriter.openCustomPropertyProperty("custom_property");
            try {
              customPropertyWriter.writeCartesian(new Cartesian(1D, 2D, 3D));
            } finally {
              DisposeHelper.dispose(customPropertyWriter);
            }
          }
        } finally {
          DisposeHelper.dispose(customPropertiesWriter);
        }
      }
    } finally {
      DisposeHelper.dispose(usingExpression_2);
    }
  }
  Assert.assertEquals("{\"properties\":{\"custom_property\":{\"cartesian\":[1,2,3]}}}", getStringWriter().toString());
}
origin: AnalyticalGraphicsInc/czml-writer

  customPropertyWriter.writeCartesian(new Cartesian(1D, 2D, 3D));
} finally {
  DisposeHelper.dispose(customPropertyWriter);
origin: AnalyticalGraphicsInc/czml-writer

  dates.add(m_startDate.addSeconds(120.0));
  values.add(new Cartesian(7.0, 8.0, 9.0));
  customPropertyWriter.writeCartesian(dates, values);
} finally {
  DisposeHelper.dispose(customPropertyWriter);
cesiumlanguagewriterCustomPropertyCesiumWriterwriteCartesian

Javadoc

Writes the value expressed as a cartesian, which is the property specified as a three-dimensional Cartesian value [X, Y, Z].

Popular methods of CustomPropertyCesiumWriter

  • <init>
    Initializes a new instance.
  • getForceInterval
  • getIsInterval
  • getOutput
  • openInterval
  • openIntervalIfNecessary
  • openMultipleIntervals
  • writeBoolean
    Writes the value expressed as a boolean, which is the property specified as a boolean value.
  • writeBoundingRectangle
    Writes the value expressed as a boundingRectangle, which is the property specified as [X, Y, Width,
  • writeCartesian2
    Writes the value expressed as a cartesian2, which is the property specified as a two-dimensional Car
  • writeCartographicDegrees
    Writes the value expressed as a cartographicDegrees, which is the property specified in Cartographic
  • writeCartographicRadians
    Writes the value expressed as a cartographicRadians, which is the property specified in Cartographic
  • writeCartographicDegrees,
  • writeCartographicRadians,
  • writeInterpolationAlgorithm,
  • writeNearFarScalar,
  • writeNumber,
  • writeRgba,
  • writeRgbaf,
  • writeSpherical,
  • writeUnitCartesian

Popular in Java

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JOptionPane (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now