diff --git a/DotNet/CesiumLanguageWriter.sln b/DotNet/CesiumLanguageWriter.sln
index abbc4a6b..d20fd8d0 100644
--- a/DotNet/CesiumLanguageWriter.sln
+++ b/DotNet/CesiumLanguageWriter.sln
@@ -18,6 +18,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Schema", "Schema", "{04E49F
..\Schema\Box.json = ..\Schema\Box.json
..\Schema\BoxDimensions.json = ..\Schema\BoxDimensions.json
..\Schema\CheckerboardMaterial.json = ..\Schema\CheckerboardMaterial.json
+ ..\Schema\ClassificationType.json = ..\Schema\ClassificationType.json
..\Schema\Clock.json = ..\Schema\Clock.json
..\Schema\Color.json = ..\Schema\Color.json
..\Schema\ColorBlendMode.json = ..\Schema\ColorBlendMode.json
@@ -167,6 +168,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ValueProperties", "ValuePro
..\Schema\ValueProperties\CartographicRadiansValueProperty.json = ..\Schema\ValueProperties\CartographicRadiansValueProperty.json
..\Schema\ValueProperties\CartographicRectangleDegreesValueProperty.json = ..\Schema\ValueProperties\CartographicRectangleDegreesValueProperty.json
..\Schema\ValueProperties\CartographicRectangleRadiansValueProperty.json = ..\Schema\ValueProperties\CartographicRectangleRadiansValueProperty.json
+ ..\Schema\ValueProperties\ClassificationTypeValueProperty.json = ..\Schema\ValueProperties\ClassificationTypeValueProperty.json
..\Schema\ValueProperties\ColorBlendModeValueProperty.json = ..\Schema\ValueProperties\ColorBlendModeValueProperty.json
..\Schema\ValueProperties\CornerTypeValueProperty.json = ..\Schema\ValueProperties\CornerTypeValueProperty.json
..\Schema\ValueProperties\DistanceDisplayConditionValueProperty.json = ..\Schema\ValueProperties\DistanceDisplayConditionValueProperty.json
@@ -212,6 +214,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Values", "Values", "{A9C205
..\Schema\Values\CartographicRadiansValue.json = ..\Schema\Values\CartographicRadiansValue.json
..\Schema\Values\CartographicRectangleDegreesValue.json = ..\Schema\Values\CartographicRectangleDegreesValue.json
..\Schema\Values\CartographicRectangleRadiansValue.json = ..\Schema\Values\CartographicRectangleRadiansValue.json
+ ..\Schema\Values\ClassificationTypeValue.json = ..\Schema\Values\ClassificationTypeValue.json
..\Schema\Values\ClockRangeValue.json = ..\Schema\Values\ClockRangeValue.json
..\Schema\Values\ClockStepValue.json = ..\Schema\Values\ClockStepValue.json
..\Schema\Values\ColorBlendModeValue.json = ..\Schema\Values\ColorBlendModeValue.json
diff --git a/DotNet/CesiumLanguageWriter/Advanced/CesiumClassificationTypeValuePropertyAdaptor.cs b/DotNet/CesiumLanguageWriter/Advanced/CesiumClassificationTypeValuePropertyAdaptor.cs
new file mode 100644
index 00000000..e482d74f
--- /dev/null
+++ b/DotNet/CesiumLanguageWriter/Advanced/CesiumClassificationTypeValuePropertyAdaptor.cs
@@ -0,0 +1,26 @@
+using JetBrains.Annotations;
+
+namespace CesiumLanguageWriter.Advanced
+{
+ ///
+ /// Adapts a class that implements to implement
+ /// for values.
+ ///
+ /// The class that implements to adapt.
+ public class CesiumClassificationTypeValuePropertyAdaptor : CesiumWriterAdaptor
+ where TFrom : class, ICesiumClassificationTypeValuePropertyWriter
+ {
+ ///
+ /// Initializes a new instance.
+ ///
+ /// The instance to wrap.
+ /// The callback to write values of type .
+ /// The callback to write an indication that the client should delete existing data.
+ public CesiumClassificationTypeValuePropertyAdaptor([NotNull] TFrom parent,
+ [NotNull] CesiumWriterAdaptorWriteCallback writeValueCallback,
+ [NotNull] CesiumWriterAdaptorWriteDeleteCallback writeDeleteValueCallback)
+ : base(parent, writeValueCallback, writeDeleteValueCallback)
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/DotNet/CesiumLanguageWriter/Advanced/CesiumFormattingHelper.cs b/DotNet/CesiumLanguageWriter/Advanced/CesiumFormattingHelper.cs
index 5dccd3ab..fbf78ade 100644
--- a/DotNet/CesiumLanguageWriter/Advanced/CesiumFormattingHelper.cs
+++ b/DotNet/CesiumLanguageWriter/Advanced/CesiumFormattingHelper.cs
@@ -468,6 +468,27 @@ public static string CornerTypeToString(CesiumCornerType value)
}
}
+ ///
+ /// Converts a to the corresponding string in a CZML stream.
+ ///
+ /// The value to convert.
+ /// The string representing the specified value.
+ [NotNull]
+ public static string ClassificationTypeToString(CesiumClassificationType value)
+ {
+ switch (value)
+ {
+ case CesiumClassificationType.Terrain:
+ return "TERRAIN";
+ case CesiumClassificationType.Cesium3DTile:
+ return "CESIUM_3D_TILE";
+ case CesiumClassificationType.Both:
+ return "BOTH";
+ default:
+ throw new ArgumentException(CesiumLocalization.UnknownEnumerationValue, "value");
+ }
+ }
+
///
/// Converts a to the corresponding string in a CZML stream.
///
diff --git a/DotNet/CesiumLanguageWriter/Advanced/CesiumValuePropertyAdaptors.cs b/DotNet/CesiumLanguageWriter/Advanced/CesiumValuePropertyAdaptors.cs
index b793bc35..6523bb30 100644
--- a/DotNet/CesiumLanguageWriter/Advanced/CesiumValuePropertyAdaptors.cs
+++ b/DotNet/CesiumLanguageWriter/Advanced/CesiumValuePropertyAdaptors.cs
@@ -170,6 +170,18 @@ public static CesiumCartographicRectangleDegreesValuePropertyAdaptor Crea
return new CesiumCartographicRectangleDegreesValuePropertyAdaptor(parent, (writer, value) => writer.WriteWsenDegrees(value), (writer, dates, values, startIndex, length) => writer.WriteWsenDegrees(dates, values, startIndex, length), CreateWriteDeleteCallback());
}
+ ///
+ /// Create an adaptor for values.
+ ///
+ /// The class that implements to adapt.
+ /// The instance to wrap.
+ /// The new adaptor.
+ public static CesiumClassificationTypeValuePropertyAdaptor CreateClassificationType([NotNull] TFrom parent)
+ where TFrom : class, ICesiumClassificationTypeValuePropertyWriter, ICesiumDeletablePropertyWriter
+ {
+ return new CesiumClassificationTypeValuePropertyAdaptor(parent, (writer, value) => writer.WriteClassificationType(value), CreateWriteDeleteCallback());
+ }
+
///
/// Create an adaptor for values.
///
diff --git a/DotNet/CesiumLanguageWriter/Advanced/ICesiumClassificationTypeValuePropertyWriter.cs b/DotNet/CesiumLanguageWriter/Advanced/ICesiumClassificationTypeValuePropertyWriter.cs
new file mode 100644
index 00000000..0ff9273e
--- /dev/null
+++ b/DotNet/CesiumLanguageWriter/Advanced/ICesiumClassificationTypeValuePropertyWriter.cs
@@ -0,0 +1,14 @@
+namespace CesiumLanguageWriter.Advanced
+{
+ ///
+ /// A writer that can write a value as a classification type.
+ ///
+ public interface ICesiumClassificationTypeValuePropertyWriter : ICesiumPropertyWriter
+ {
+ ///
+ /// Writes the value expressed as a classification type.
+ ///
+ /// The classification type.
+ void WriteClassificationType(CesiumClassificationType value);
+ }
+}
\ No newline at end of file
diff --git a/DotNet/CesiumLanguageWriter/CesiumClassificationType.cs b/DotNet/CesiumLanguageWriter/CesiumClassificationType.cs
new file mode 100644
index 00000000..aa806586
--- /dev/null
+++ b/DotNet/CesiumLanguageWriter/CesiumClassificationType.cs
@@ -0,0 +1,23 @@
+namespace CesiumLanguageWriter
+{
+ ///
+ /// Whether a classification affects terrain, 3D Tiles or both.
+ ///
+ public enum CesiumClassificationType
+ {
+ ///
+ /// Only terrain will be classified.
+ ///
+ Terrain,
+
+ ///
+ /// Only 3D Tiles will be classified.
+ ///
+ Cesium3DTile,
+
+ ///
+ /// Both terrain and 3D Tiles will be classified.
+ ///
+ Both,
+ }
+}
\ No newline at end of file
diff --git a/DotNet/CesiumLanguageWriter/CesiumLanguageWriter.csproj b/DotNet/CesiumLanguageWriter/CesiumLanguageWriter.csproj
index a88a10c6..080bc250 100644
--- a/DotNet/CesiumLanguageWriter/CesiumLanguageWriter.csproj
+++ b/DotNet/CesiumLanguageWriter/CesiumLanguageWriter.csproj
@@ -58,6 +58,7 @@
+
@@ -111,6 +112,7 @@
+
@@ -162,6 +164,7 @@
+
@@ -205,6 +208,7 @@
Code
+
Code
diff --git a/DotNet/CesiumLanguageWriter/Generated/BoxCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/BoxCesiumWriter.cs
index 1f6a3844..a566953c 100644
--- a/DotNet/CesiumLanguageWriter/Generated/BoxCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/BoxCesiumWriter.cs
@@ -26,6 +26,11 @@ public class BoxCesiumWriter : CesiumPropertyWriter
///
public const string DimensionsPropertyName = "dimensions";
+ ///
+ /// The name of the heightReference property.
+ ///
+ public const string HeightReferencePropertyName = "heightReference";
+
///
/// The name of the fill property.
///
@@ -63,6 +68,7 @@ public class BoxCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_show = new Lazy(() => new BooleanCesiumWriter(ShowPropertyName), false);
private readonly Lazy m_dimensions = new Lazy(() => new BoxDimensionsCesiumWriter(DimensionsPropertyName), false);
+ private readonly Lazy m_heightReference = new Lazy(() => new HeightReferenceCesiumWriter(HeightReferencePropertyName), false);
private readonly Lazy m_fill = new Lazy(() => new BooleanCesiumWriter(FillPropertyName), false);
private readonly Lazy m_material = new Lazy(() => new MaterialCesiumWriter(MaterialPropertyName), false);
private readonly Lazy m_outline = new Lazy(() => new BooleanCesiumWriter(OutlinePropertyName), false);
@@ -285,6 +291,87 @@ public void WriteDimensionsPropertyReference(string identifier, string[] propert
}
}
+ ///
+ /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the box, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ [NotNull]
+ public HeightReferenceCesiumWriter HeightReferenceWriter
+ {
+ get { return m_heightReference.Value; }
+ }
+
+ ///
+ /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the box, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ [NotNull]
+ public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
+ {
+ OpenIntervalIfNecessary();
+ return OpenAndReturn(HeightReferenceWriter);
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the box, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The height reference.
+ public void WriteHeightReferenceProperty(CesiumHeightReference value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteHeightReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the box, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The reference.
+ public void WriteHeightReferencePropertyReference(Reference value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the box, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The reference.
+ public void WriteHeightReferencePropertyReference(string value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the box, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The property on the referenced object.
+ public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(identifier, propertyName);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the box, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The hierarchy of properties to be indexed on the referenced object.
+ public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(identifier, propertyNames);
+ }
+ }
+
///
/// Gets the writer for the fill property. The returned instance must be opened by calling the method before it can be used for writing. The fill property defines whether or not the box is filled. If not specified, the default value is .
///
diff --git a/DotNet/CesiumLanguageWriter/Generated/ClassificationTypeCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/ClassificationTypeCesiumWriter.cs
new file mode 100644
index 00000000..8bcd4bb9
--- /dev/null
+++ b/DotNet/CesiumLanguageWriter/Generated/ClassificationTypeCesiumWriter.cs
@@ -0,0 +1,182 @@
+//
+// This file was generated automatically by GenerateFromSchema. Do NOT edit it.
+// https://github.com/AnalyticalGraphicsInc/czml-writer
+//
+
+using CesiumLanguageWriter.Advanced;
+using System;
+using JetBrains.Annotations;
+
+namespace CesiumLanguageWriter
+{
+ ///
+ /// Writes a ClassificationType to a . A ClassificationType is whether a classification affects terrain, 3D Tiles or both.
+ ///
+ public class ClassificationTypeCesiumWriter : CesiumPropertyWriter, ICesiumDeletablePropertyWriter, ICesiumClassificationTypeValuePropertyWriter, ICesiumReferenceValuePropertyWriter
+ {
+ ///
+ /// The name of the classificationType property.
+ ///
+ public const string ClassificationTypePropertyName = "classificationType";
+
+ ///
+ /// The name of the reference property.
+ ///
+ public const string ReferencePropertyName = "reference";
+
+ ///
+ /// The name of the delete property.
+ ///
+ public const string DeletePropertyName = "delete";
+
+ private readonly Lazy> m_asClassificationType;
+ private readonly Lazy> m_asReference;
+
+ ///
+ /// Initializes a new instance.
+ ///
+ /// The name of the property.
+ public ClassificationTypeCesiumWriter([NotNull] string propertyName)
+ : base(propertyName)
+ {
+ m_asClassificationType = CreateAsClassificationType();
+ m_asReference = CreateAsReference();
+ }
+
+ ///
+ /// Initializes a new instance as a copy of an existing instance.
+ ///
+ /// The existing instance to copy.
+ protected ClassificationTypeCesiumWriter([NotNull] ClassificationTypeCesiumWriter existingInstance)
+ : base(existingInstance)
+ {
+ m_asClassificationType = CreateAsClassificationType();
+ m_asReference = CreateAsReference();
+ }
+
+ ///
+ public override ClassificationTypeCesiumWriter Clone()
+ {
+ return new ClassificationTypeCesiumWriter(this);
+ }
+
+ ///
+ /// Writes the value expressed as a classificationType, which is the classification type, which indicates whether a classification affects terrain, 3D Tiles or both.
+ ///
+ /// The classification type.
+ public void WriteClassificationType(CesiumClassificationType value)
+ {
+ const string PropertyName = ClassificationTypePropertyName;
+ if (ForceInterval)
+ {
+ OpenIntervalIfNecessary();
+ }
+ if (IsInterval)
+ {
+ Output.WritePropertyName(PropertyName);
+ }
+ Output.WriteValue(CesiumFormattingHelper.ClassificationTypeToString(value));
+ }
+
+ ///
+ /// Writes the value expressed as a reference, which is the classification type specified as a reference to another property.
+ ///
+ /// The reference.
+ public void WriteReference(Reference value)
+ {
+ const string PropertyName = ReferencePropertyName;
+ OpenIntervalIfNecessary();
+ Output.WritePropertyName(PropertyName);
+ CesiumWritingHelper.WriteReference(Output, value);
+ }
+
+ ///
+ /// Writes the value expressed as a reference, which is the classification type specified as a reference to another property.
+ ///
+ /// The reference.
+ public void WriteReference(string value)
+ {
+ const string PropertyName = ReferencePropertyName;
+ OpenIntervalIfNecessary();
+ Output.WritePropertyName(PropertyName);
+ CesiumWritingHelper.WriteReference(Output, value);
+ }
+
+ ///
+ /// Writes the value expressed as a reference, which is the classification type specified as a reference to another property.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The property on the referenced object.
+ public void WriteReference(string identifier, string propertyName)
+ {
+ const string PropertyName = ReferencePropertyName;
+ OpenIntervalIfNecessary();
+ Output.WritePropertyName(PropertyName);
+ CesiumWritingHelper.WriteReference(Output, identifier, propertyName);
+ }
+
+ ///
+ /// Writes the value expressed as a reference, which is the classification type specified as a reference to another property.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The hierarchy of properties to be indexed on the referenced object.
+ public void WriteReference(string identifier, string[] propertyNames)
+ {
+ const string PropertyName = ReferencePropertyName;
+ OpenIntervalIfNecessary();
+ Output.WritePropertyName(PropertyName);
+ CesiumWritingHelper.WriteReference(Output, identifier, propertyNames);
+ }
+
+ ///
+ /// Writes the value expressed as a delete, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.
+ ///
+ /// The value.
+ public void WriteDelete(bool value)
+ {
+ const string PropertyName = DeletePropertyName;
+ OpenIntervalIfNecessary();
+ Output.WritePropertyName(PropertyName);
+ Output.WriteValue(value);
+ }
+
+ ///
+ /// Returns a wrapper for this instance that implements . Because the returned instance is a wrapper for this instance, you may call on either this instance or the wrapper, but you must not call it on both.
+ ///
+ /// The wrapper.
+ public CesiumClassificationTypeValuePropertyAdaptor AsClassificationType()
+ {
+ return m_asClassificationType.Value;
+ }
+
+ private Lazy> CreateAsClassificationType()
+ {
+ return new Lazy>(CreateClassificationType, false);
+ }
+
+ private CesiumClassificationTypeValuePropertyAdaptor CreateClassificationType()
+ {
+ return CesiumValuePropertyAdaptors.CreateClassificationType(this);
+ }
+
+ ///
+ /// Returns a wrapper for this instance that implements . Because the returned instance is a wrapper for this instance, you may call on either this instance or the wrapper, but you must not call it on both.
+ ///
+ /// The wrapper.
+ public CesiumReferenceValuePropertyAdaptor AsReference()
+ {
+ return m_asReference.Value;
+ }
+
+ private Lazy> CreateAsReference()
+ {
+ return new Lazy>(CreateReference, false);
+ }
+
+ private CesiumReferenceValuePropertyAdaptor CreateReference()
+ {
+ return CesiumValuePropertyAdaptors.CreateReference(this);
+ }
+
+ }
+}
diff --git a/DotNet/CesiumLanguageWriter/Generated/CorridorCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/CorridorCesiumWriter.cs
index 3ca8c008..4fa78f4e 100644
--- a/DotNet/CesiumLanguageWriter/Generated/CorridorCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/CorridorCesiumWriter.cs
@@ -37,14 +37,14 @@ public class CorridorCesiumWriter : CesiumPropertyWriter
public const string HeightPropertyName = "height";
///
- /// The name of the extrudedHeight property.
+ /// The name of the heightReference property.
///
- public const string ExtrudedHeightPropertyName = "extrudedHeight";
+ public const string HeightReferencePropertyName = "heightReference";
///
- /// The name of the heightReference property.
+ /// The name of the extrudedHeight property.
///
- public const string HeightReferencePropertyName = "heightReference";
+ public const string ExtrudedHeightPropertyName = "extrudedHeight";
///
/// The name of the extrudedHeightReference property.
@@ -96,6 +96,11 @@ public class CorridorCesiumWriter : CesiumPropertyWriter
///
public const string DistanceDisplayConditionPropertyName = "distanceDisplayCondition";
+ ///
+ /// The name of the classificationType property.
+ ///
+ public const string ClassificationTypePropertyName = "classificationType";
+
///
/// The name of the zIndex property.
///
@@ -105,8 +110,8 @@ public class CorridorCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_positions = new Lazy(() => new PositionListCesiumWriter(PositionsPropertyName), false);
private readonly Lazy m_width = new Lazy(() => new DoubleCesiumWriter(WidthPropertyName), false);
private readonly Lazy m_height = new Lazy(() => new DoubleCesiumWriter(HeightPropertyName), false);
- private readonly Lazy m_extrudedHeight = new Lazy(() => new DoubleCesiumWriter(ExtrudedHeightPropertyName), false);
private readonly Lazy m_heightReference = new Lazy(() => new HeightReferenceCesiumWriter(HeightReferencePropertyName), false);
+ private readonly Lazy m_extrudedHeight = new Lazy(() => new DoubleCesiumWriter(ExtrudedHeightPropertyName), false);
private readonly Lazy m_extrudedHeightReference = new Lazy(() => new HeightReferenceCesiumWriter(ExtrudedHeightReferencePropertyName), false);
private readonly Lazy m_cornerType = new Lazy(() => new CornerTypeCesiumWriter(CornerTypePropertyName), false);
private readonly Lazy m_granularity = new Lazy(() => new DoubleCesiumWriter(GranularityPropertyName), false);
@@ -117,6 +122,7 @@ public class CorridorCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_outlineWidth = new Lazy(() => new DoubleCesiumWriter(OutlineWidthPropertyName), false);
private readonly Lazy m_shadows = new Lazy(() => new ShadowModeCesiumWriter(ShadowsPropertyName), false);
private readonly Lazy m_distanceDisplayCondition = new Lazy(() => new DistanceDisplayConditionCesiumWriter(DistanceDisplayConditionPropertyName), false);
+ private readonly Lazy m_classificationType = new Lazy(() => new ClassificationTypeCesiumWriter(ClassificationTypePropertyName), false);
private readonly Lazy m_zIndex = new Lazy(() => new IntegerCesiumWriter(ZIndexPropertyName), false);
///
@@ -510,190 +516,190 @@ public void WriteHeightPropertyReference(string identifier, string[] propertyNam
}
///
- /// Gets the writer for the extrudedHeight property. The returned instance must be opened by calling the method before it can be used for writing. The extrudedHeight property defines the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
[NotNull]
- public DoubleCesiumWriter ExtrudedHeightWriter
+ public HeightReferenceCesiumWriter HeightReferenceWriter
{
- get { return m_extrudedHeight.Value; }
+ get { return m_heightReference.Value; }
}
///
- /// Opens and returns the writer for the extrudedHeight property. The extrudedHeight property defines the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
[NotNull]
- public DoubleCesiumWriter OpenExtrudedHeightProperty()
+ public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(ExtrudedHeightWriter);
- }
-
- ///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
- ///
- /// The value.
- public void WriteExtrudedHeightProperty(double value)
- {
- using (var writer = OpenExtrudedHeightProperty())
- {
- writer.WriteNumber(value);
- }
- }
-
- ///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
- ///
- /// The dates at which the value is specified.
- /// The values corresponding to each date.
- public void WriteExtrudedHeightProperty(IList dates, IList values)
- {
- using (var writer = OpenExtrudedHeightProperty())
- {
- writer.WriteNumber(dates, values);
- }
+ return OpenAndReturn(HeightReferenceWriter);
}
///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
- /// The dates at which the value is specified.
- /// The value corresponding to each date.
- /// The index of the first element to write.
- /// The number of elements to write.
- public void WriteExtrudedHeightProperty(IList dates, IList values, int startIndex, int length)
+ /// The height reference.
+ public void WriteHeightReferenceProperty(CesiumHeightReference value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
- writer.WriteNumber(dates, values, startIndex, length);
+ writer.WriteHeightReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The reference.
- public void WriteExtrudedHeightPropertyReference(Reference value)
+ public void WriteHeightReferencePropertyReference(Reference value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The reference.
- public void WriteExtrudedHeightPropertyReference(string value)
+ public void WriteHeightReferencePropertyReference(string value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteExtrudedHeightPropertyReference(string identifier, string propertyName)
+ public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteExtrudedHeightPropertyReference(string identifier, string[] propertyNames)
+ public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(identifier, propertyNames);
}
}
///
- /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Gets the writer for the extrudedHeight property. The returned instance must be opened by calling the method before it can be used for writing. The extrudedHeight property defines the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
///
[NotNull]
- public HeightReferenceCesiumWriter HeightReferenceWriter
+ public DoubleCesiumWriter ExtrudedHeightWriter
{
- get { return m_heightReference.Value; }
+ get { return m_extrudedHeight.Value; }
}
///
- /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Opens and returns the writer for the extrudedHeight property. The extrudedHeight property defines the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
///
[NotNull]
- public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
+ public DoubleCesiumWriter OpenExtrudedHeightProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(HeightReferenceWriter);
+ return OpenAndReturn(ExtrudedHeightWriter);
}
///
- /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
///
- /// The height reference.
- public void WriteHeightReferenceProperty(CesiumHeightReference value)
+ /// The value.
+ public void WriteExtrudedHeightProperty(double value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
- writer.WriteHeightReference(value);
+ writer.WriteNumber(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ ///
+ /// The dates at which the value is specified.
+ /// The values corresponding to each date.
+ public void WriteExtrudedHeightProperty(IList dates, IList values)
+ {
+ using (var writer = OpenExtrudedHeightProperty())
+ {
+ writer.WriteNumber(dates, values);
+ }
+ }
+
+ ///
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
+ ///
+ /// The dates at which the value is specified.
+ /// The value corresponding to each date.
+ /// The index of the first element to write.
+ /// The number of elements to write.
+ public void WriteExtrudedHeightProperty(IList dates, IList values, int startIndex, int length)
+ {
+ using (var writer = OpenExtrudedHeightProperty())
+ {
+ writer.WriteNumber(dates, values, startIndex, length);
+ }
+ }
+
+ ///
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
///
/// The reference.
- public void WriteHeightReferencePropertyReference(Reference value)
+ public void WriteExtrudedHeightPropertyReference(Reference value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
///
/// The reference.
- public void WriteHeightReferencePropertyReference(string value)
+ public void WriteExtrudedHeightPropertyReference(string value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
+ public void WriteExtrudedHeightPropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the corridor, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the corridor, which is the altitude of the corridor's extruded face relative to the surface.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
+ public void WriteExtrudedHeightPropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(identifier, propertyNames);
}
@@ -1642,6 +1648,87 @@ public void WriteDistanceDisplayConditionPropertyReference(string identifier, st
}
}
+ ///
+ /// Gets the writer for the classificationType property. The returned instance must be opened by calling the method before it can be used for writing. The classificationType property defines whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ [NotNull]
+ public ClassificationTypeCesiumWriter ClassificationTypeWriter
+ {
+ get { return m_classificationType.Value; }
+ }
+
+ ///
+ /// Opens and returns the writer for the classificationType property. The classificationType property defines whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ [NotNull]
+ public ClassificationTypeCesiumWriter OpenClassificationTypeProperty()
+ {
+ OpenIntervalIfNecessary();
+ return OpenAndReturn(ClassificationTypeWriter);
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a classificationType value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The classification type.
+ public void WriteClassificationTypeProperty(CesiumClassificationType value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteClassificationType(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The reference.
+ public void WriteClassificationTypePropertyReference(Reference value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The reference.
+ public void WriteClassificationTypePropertyReference(string value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The property on the referenced object.
+ public void WriteClassificationTypePropertyReference(string identifier, string propertyName)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(identifier, propertyName);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The hierarchy of properties to be indexed on the referenced object.
+ public void WriteClassificationTypePropertyReference(string identifier, string[] propertyNames)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(identifier, propertyNames);
+ }
+ }
+
///
/// Gets the writer for the zIndex property. The returned instance must be opened by calling the method before it can be used for writing. The zIndex property defines the z-index of the corridor, used for ordering ground geometry. Only has an effect if the corridor is constant, and height and extrudedHeight are not specified. If not specified, the default value is 0.
///
diff --git a/DotNet/CesiumLanguageWriter/Generated/CylinderCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/CylinderCesiumWriter.cs
index 3d895abe..bfe07c88 100644
--- a/DotNet/CesiumLanguageWriter/Generated/CylinderCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/CylinderCesiumWriter.cs
@@ -36,6 +36,11 @@ public class CylinderCesiumWriter : CesiumPropertyWriter
///
public const string BottomRadiusPropertyName = "bottomRadius";
+ ///
+ /// The name of the heightReference property.
+ ///
+ public const string HeightReferencePropertyName = "heightReference";
+
///
/// The name of the fill property.
///
@@ -85,6 +90,7 @@ public class CylinderCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_length = new Lazy(() => new DoubleCesiumWriter(LengthPropertyName), false);
private readonly Lazy m_topRadius = new Lazy(() => new DoubleCesiumWriter(TopRadiusPropertyName), false);
private readonly Lazy m_bottomRadius = new Lazy(() => new DoubleCesiumWriter(BottomRadiusPropertyName), false);
+ private readonly Lazy m_heightReference = new Lazy(() => new HeightReferenceCesiumWriter(HeightReferencePropertyName), false);
private readonly Lazy m_fill = new Lazy(() => new BooleanCesiumWriter(FillPropertyName), false);
private readonly Lazy m_material = new Lazy(() => new MaterialCesiumWriter(MaterialPropertyName), false);
private readonly Lazy m_outline = new Lazy(() => new BooleanCesiumWriter(OutlinePropertyName), false);
@@ -527,6 +533,87 @@ public void WriteBottomRadiusPropertyReference(string identifier, string[] prope
}
}
+ ///
+ /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the cylinder, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ [NotNull]
+ public HeightReferenceCesiumWriter HeightReferenceWriter
+ {
+ get { return m_heightReference.Value; }
+ }
+
+ ///
+ /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the cylinder, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ [NotNull]
+ public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
+ {
+ OpenIntervalIfNecessary();
+ return OpenAndReturn(HeightReferenceWriter);
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the cylinder, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The height reference.
+ public void WriteHeightReferenceProperty(CesiumHeightReference value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteHeightReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the cylinder, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The reference.
+ public void WriteHeightReferencePropertyReference(Reference value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the cylinder, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The reference.
+ public void WriteHeightReferencePropertyReference(string value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the cylinder, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The property on the referenced object.
+ public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(identifier, propertyName);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the cylinder, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The hierarchy of properties to be indexed on the referenced object.
+ public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(identifier, propertyNames);
+ }
+ }
+
///
/// Gets the writer for the fill property. The returned instance must be opened by calling the method before it can be used for writing. The fill property defines whether or not the cylinder is filled. If not specified, the default value is .
///
diff --git a/DotNet/CesiumLanguageWriter/Generated/EllipseCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/EllipseCesiumWriter.cs
index eadcc8b0..4ee3e569 100644
--- a/DotNet/CesiumLanguageWriter/Generated/EllipseCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/EllipseCesiumWriter.cs
@@ -37,14 +37,14 @@ public class EllipseCesiumWriter : CesiumPropertyWriter
public const string HeightPropertyName = "height";
///
- /// The name of the extrudedHeight property.
+ /// The name of the heightReference property.
///
- public const string ExtrudedHeightPropertyName = "extrudedHeight";
+ public const string HeightReferencePropertyName = "heightReference";
///
- /// The name of the heightReference property.
+ /// The name of the extrudedHeight property.
///
- public const string HeightReferencePropertyName = "heightReference";
+ public const string ExtrudedHeightPropertyName = "extrudedHeight";
///
/// The name of the extrudedHeightReference property.
@@ -106,6 +106,11 @@ public class EllipseCesiumWriter : CesiumPropertyWriter
///
public const string DistanceDisplayConditionPropertyName = "distanceDisplayCondition";
+ ///
+ /// The name of the classificationType property.
+ ///
+ public const string ClassificationTypePropertyName = "classificationType";
+
///
/// The name of the zIndex property.
///
@@ -115,8 +120,8 @@ public class EllipseCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_semiMajorAxis = new Lazy(() => new DoubleCesiumWriter(SemiMajorAxisPropertyName), false);
private readonly Lazy m_semiMinorAxis = new Lazy(() => new DoubleCesiumWriter(SemiMinorAxisPropertyName), false);
private readonly Lazy m_height = new Lazy(() => new DoubleCesiumWriter(HeightPropertyName), false);
- private readonly Lazy m_extrudedHeight = new Lazy(() => new DoubleCesiumWriter(ExtrudedHeightPropertyName), false);
private readonly Lazy m_heightReference = new Lazy(() => new HeightReferenceCesiumWriter(HeightReferencePropertyName), false);
+ private readonly Lazy m_extrudedHeight = new Lazy(() => new DoubleCesiumWriter(ExtrudedHeightPropertyName), false);
private readonly Lazy m_extrudedHeightReference = new Lazy(() => new HeightReferenceCesiumWriter(ExtrudedHeightReferencePropertyName), false);
private readonly Lazy m_rotation = new Lazy(() => new DoubleCesiumWriter(RotationPropertyName), false);
private readonly Lazy m_stRotation = new Lazy(() => new DoubleCesiumWriter(StRotationPropertyName), false);
@@ -129,6 +134,7 @@ public class EllipseCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_numberOfVerticalLines = new Lazy(() => new IntegerCesiumWriter(NumberOfVerticalLinesPropertyName), false);
private readonly Lazy m_shadows = new Lazy(() => new ShadowModeCesiumWriter(ShadowsPropertyName), false);
private readonly Lazy m_distanceDisplayCondition = new Lazy(() => new DistanceDisplayConditionCesiumWriter(DistanceDisplayConditionPropertyName), false);
+ private readonly Lazy m_classificationType = new Lazy(() => new ClassificationTypeCesiumWriter(ClassificationTypePropertyName), false);
private readonly Lazy m_zIndex = new Lazy(() => new IntegerCesiumWriter(ZIndexPropertyName), false);
///
@@ -564,190 +570,190 @@ public void WriteHeightPropertyReference(string identifier, string[] propertyNam
}
///
- /// Gets the writer for the extrudedHeight property. The returned instance must be opened by calling the method before it can be used for writing. The extrudedHeight property defines the altitude of the ellipse's extruded face relative to the surface.
+ /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
[NotNull]
- public DoubleCesiumWriter ExtrudedHeightWriter
+ public HeightReferenceCesiumWriter HeightReferenceWriter
{
- get { return m_extrudedHeight.Value; }
+ get { return m_heightReference.Value; }
}
///
- /// Opens and returns the writer for the extrudedHeight property. The extrudedHeight property defines the altitude of the ellipse's extruded face relative to the surface.
+ /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
[NotNull]
- public DoubleCesiumWriter OpenExtrudedHeightProperty()
+ public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(ExtrudedHeightWriter);
- }
-
- ///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
- ///
- /// The value.
- public void WriteExtrudedHeightProperty(double value)
- {
- using (var writer = OpenExtrudedHeightProperty())
- {
- writer.WriteNumber(value);
- }
- }
-
- ///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
- ///
- /// The dates at which the value is specified.
- /// The values corresponding to each date.
- public void WriteExtrudedHeightProperty(IList dates, IList values)
- {
- using (var writer = OpenExtrudedHeightProperty())
- {
- writer.WriteNumber(dates, values);
- }
+ return OpenAndReturn(HeightReferenceWriter);
}
///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
- /// The dates at which the value is specified.
- /// The value corresponding to each date.
- /// The index of the first element to write.
- /// The number of elements to write.
- public void WriteExtrudedHeightProperty(IList dates, IList values, int startIndex, int length)
+ /// The height reference.
+ public void WriteHeightReferenceProperty(CesiumHeightReference value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
- writer.WriteNumber(dates, values, startIndex, length);
+ writer.WriteHeightReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The reference.
- public void WriteExtrudedHeightPropertyReference(Reference value)
+ public void WriteHeightReferencePropertyReference(Reference value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The reference.
- public void WriteExtrudedHeightPropertyReference(string value)
+ public void WriteHeightReferencePropertyReference(string value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteExtrudedHeightPropertyReference(string identifier, string propertyName)
+ public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteExtrudedHeightPropertyReference(string identifier, string[] propertyNames)
+ public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(identifier, propertyNames);
}
}
///
- /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Gets the writer for the extrudedHeight property. The returned instance must be opened by calling the method before it can be used for writing. The extrudedHeight property defines the altitude of the ellipse's extruded face relative to the surface.
///
[NotNull]
- public HeightReferenceCesiumWriter HeightReferenceWriter
+ public DoubleCesiumWriter ExtrudedHeightWriter
{
- get { return m_heightReference.Value; }
+ get { return m_extrudedHeight.Value; }
}
///
- /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Opens and returns the writer for the extrudedHeight property. The extrudedHeight property defines the altitude of the ellipse's extruded face relative to the surface.
///
[NotNull]
- public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
+ public DoubleCesiumWriter OpenExtrudedHeightProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(HeightReferenceWriter);
+ return OpenAndReturn(ExtrudedHeightWriter);
}
///
- /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
///
- /// The height reference.
- public void WriteHeightReferenceProperty(CesiumHeightReference value)
+ /// The value.
+ public void WriteExtrudedHeightProperty(double value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
- writer.WriteHeightReference(value);
+ writer.WriteNumber(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
+ ///
+ /// The dates at which the value is specified.
+ /// The values corresponding to each date.
+ public void WriteExtrudedHeightProperty(IList dates, IList values)
+ {
+ using (var writer = OpenExtrudedHeightProperty())
+ {
+ writer.WriteNumber(dates, values);
+ }
+ }
+
+ ///
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
+ ///
+ /// The dates at which the value is specified.
+ /// The value corresponding to each date.
+ /// The index of the first element to write.
+ /// The number of elements to write.
+ public void WriteExtrudedHeightProperty(IList dates, IList values, int startIndex, int length)
+ {
+ using (var writer = OpenExtrudedHeightProperty())
+ {
+ writer.WriteNumber(dates, values, startIndex, length);
+ }
+ }
+
+ ///
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
///
/// The reference.
- public void WriteHeightReferencePropertyReference(Reference value)
+ public void WriteExtrudedHeightPropertyReference(Reference value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
///
/// The reference.
- public void WriteHeightReferencePropertyReference(string value)
+ public void WriteExtrudedHeightPropertyReference(string value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
+ public void WriteExtrudedHeightPropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipse, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the altitude of the ellipse's extruded face relative to the surface.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
+ public void WriteExtrudedHeightPropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(identifier, propertyNames);
}
@@ -1942,6 +1948,87 @@ public void WriteDistanceDisplayConditionPropertyReference(string identifier, st
}
}
+ ///
+ /// Gets the writer for the classificationType property. The returned instance must be opened by calling the method before it can be used for writing. The classificationType property defines whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ [NotNull]
+ public ClassificationTypeCesiumWriter ClassificationTypeWriter
+ {
+ get { return m_classificationType.Value; }
+ }
+
+ ///
+ /// Opens and returns the writer for the classificationType property. The classificationType property defines whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ [NotNull]
+ public ClassificationTypeCesiumWriter OpenClassificationTypeProperty()
+ {
+ OpenIntervalIfNecessary();
+ return OpenAndReturn(ClassificationTypeWriter);
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a classificationType value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The classification type.
+ public void WriteClassificationTypeProperty(CesiumClassificationType value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteClassificationType(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The reference.
+ public void WriteClassificationTypePropertyReference(Reference value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The reference.
+ public void WriteClassificationTypePropertyReference(string value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The property on the referenced object.
+ public void WriteClassificationTypePropertyReference(string identifier, string propertyName)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(identifier, propertyName);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The hierarchy of properties to be indexed on the referenced object.
+ public void WriteClassificationTypePropertyReference(string identifier, string[] propertyNames)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(identifier, propertyNames);
+ }
+ }
+
///
/// Gets the writer for the zIndex property. The returned instance must be opened by calling the method before it can be used for writing. The zIndex property defines the z-index of the ellipse, used for ordering ground geometry. Only has an effect if the ellipse is constant, and height and extrudedHeight are not specified. If not specified, the default value is 0.
///
diff --git a/DotNet/CesiumLanguageWriter/Generated/EllipsoidCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/EllipsoidCesiumWriter.cs
index a9a1b9fb..8e2f68b2 100644
--- a/DotNet/CesiumLanguageWriter/Generated/EllipsoidCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/EllipsoidCesiumWriter.cs
@@ -12,7 +12,7 @@
namespace CesiumLanguageWriter
{
///
- /// Writes a Ellipsoid to a . A Ellipsoid is a closed quadric surface that is a three dimensional analogue of an ellipse.
+ /// Writes a Ellipsoid to a . A Ellipsoid is a closed quadric surface that is a three-dimensional analogue of an ellipse.
///
public class EllipsoidCesiumWriter : CesiumPropertyWriter
{
@@ -26,6 +26,11 @@ public class EllipsoidCesiumWriter : CesiumPropertyWriter
///
public const string RadiiPropertyName = "radii";
+ ///
+ /// The name of the heightReference property.
+ ///
+ public const string HeightReferencePropertyName = "heightReference";
+
///
/// The name of the fill property.
///
@@ -78,6 +83,7 @@ public class EllipsoidCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_show = new Lazy(() => new BooleanCesiumWriter(ShowPropertyName), false);
private readonly Lazy m_radii = new Lazy(() => new EllipsoidRadiiCesiumWriter(RadiiPropertyName), false);
+ private readonly Lazy m_heightReference = new Lazy(() => new HeightReferenceCesiumWriter(HeightReferencePropertyName), false);
private readonly Lazy m_fill = new Lazy(() => new BooleanCesiumWriter(FillPropertyName), false);
private readonly Lazy m_material = new Lazy(() => new MaterialCesiumWriter(MaterialPropertyName), false);
private readonly Lazy m_outline = new Lazy(() => new BooleanCesiumWriter(OutlinePropertyName), false);
@@ -303,6 +309,87 @@ public void WriteRadiiPropertyReference(string identifier, string[] propertyName
}
}
+ ///
+ /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the ellipsoid, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ [NotNull]
+ public HeightReferenceCesiumWriter HeightReferenceWriter
+ {
+ get { return m_heightReference.Value; }
+ }
+
+ ///
+ /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the ellipsoid, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ [NotNull]
+ public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
+ {
+ OpenIntervalIfNecessary();
+ return OpenAndReturn(HeightReferenceWriter);
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the ellipsoid, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The height reference.
+ public void WriteHeightReferenceProperty(CesiumHeightReference value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteHeightReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipsoid, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The reference.
+ public void WriteHeightReferencePropertyReference(Reference value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipsoid, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The reference.
+ public void WriteHeightReferencePropertyReference(string value)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipsoid, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The property on the referenced object.
+ public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(identifier, propertyName);
+ }
+ }
+
+ ///
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the ellipsoid, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The hierarchy of properties to be indexed on the referenced object.
+ public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
+ {
+ using (var writer = OpenHeightReferenceProperty())
+ {
+ writer.WriteReference(identifier, propertyNames);
+ }
+ }
+
///
/// Gets the writer for the fill property. The returned instance must be opened by calling the method before it can be used for writing. The fill property defines whether or not the ellipsoid is filled. If not specified, the default value is .
///
diff --git a/DotNet/CesiumLanguageWriter/Generated/GridMaterialCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/GridMaterialCesiumWriter.cs
index e4c9b58b..75fb5dd1 100644
--- a/DotNet/CesiumLanguageWriter/Generated/GridMaterialCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/GridMaterialCesiumWriter.cs
@@ -12,7 +12,7 @@
namespace CesiumLanguageWriter
{
///
- /// Writes a GridMaterial to a . A GridMaterial is a material that fills the surface with a two dimensional grid.
+ /// Writes a GridMaterial to a . A GridMaterial is a material that fills the surface with a two-dimensional grid.
///
public class GridMaterialCesiumWriter : CesiumPropertyWriter
{
diff --git a/DotNet/CesiumLanguageWriter/Generated/PacketCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/PacketCesiumWriter.cs
index 9143c10f..833562c0 100644
--- a/DotNet/CesiumLanguageWriter/Generated/PacketCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/PacketCesiumWriter.cs
@@ -1001,7 +1001,7 @@ public EllipseCesiumWriter OpenEllipseProperty()
}
///
- /// Gets the writer for the ellipsoid property. The returned instance must be opened by calling the method before it can be used for writing. The ellipsoid property defines an ellipsoid, which is a closed quadric surface that is a three dimensional analogue of an ellipse. The ellipsoid is positioned and oriented using the position and orientation properties.
+ /// Gets the writer for the ellipsoid property. The returned instance must be opened by calling the method before it can be used for writing. The ellipsoid property defines an ellipsoid, which is a closed quadric surface that is a three-dimensional analogue of an ellipse. The ellipsoid is positioned and oriented using the position and orientation properties.
///
[NotNull]
public EllipsoidCesiumWriter EllipsoidWriter
@@ -1010,7 +1010,7 @@ public EllipsoidCesiumWriter EllipsoidWriter
}
///
- /// Opens and returns the writer for the ellipsoid property. The ellipsoid property defines an ellipsoid, which is a closed quadric surface that is a three dimensional analogue of an ellipse. The ellipsoid is positioned and oriented using the position and orientation properties.
+ /// Opens and returns the writer for the ellipsoid property. The ellipsoid property defines an ellipsoid, which is a closed quadric surface that is a three-dimensional analogue of an ellipse. The ellipsoid is positioned and oriented using the position and orientation properties.
///
[NotNull]
public EllipsoidCesiumWriter OpenEllipsoidProperty()
@@ -1145,7 +1145,7 @@ public RectangleCesiumWriter OpenRectangleProperty()
}
///
- /// Gets the writer for the wall property. The returned instance must be opened by calling the method before it can be used for writing. The wall property defines a two dimensional wall which conforms to the curvature of the globe and can be placed along the surface or at altitude.
+ /// Gets the writer for the wall property. The returned instance must be opened by calling the method before it can be used for writing. The wall property defines a two-dimensional wall which conforms to the curvature of the globe and can be placed along the surface or at altitude.
///
[NotNull]
public WallCesiumWriter WallWriter
@@ -1154,7 +1154,7 @@ public WallCesiumWriter WallWriter
}
///
- /// Opens and returns the writer for the wall property. The wall property defines a two dimensional wall which conforms to the curvature of the globe and can be placed along the surface or at altitude.
+ /// Opens and returns the writer for the wall property. The wall property defines a two-dimensional wall which conforms to the curvature of the globe and can be placed along the surface or at altitude.
///
[NotNull]
public WallCesiumWriter OpenWallProperty()
diff --git a/DotNet/CesiumLanguageWriter/Generated/PathCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/PathCesiumWriter.cs
index 0799f3bf..4d7ba117 100644
--- a/DotNet/CesiumLanguageWriter/Generated/PathCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/PathCesiumWriter.cs
@@ -21,24 +21,24 @@ public class PathCesiumWriter : CesiumPropertyWriter
public const string ShowPropertyName = "show";
///
- /// The name of the width property.
+ /// The name of the leadTime property.
///
- public const string WidthPropertyName = "width";
+ public const string LeadTimePropertyName = "leadTime";
///
- /// The name of the resolution property.
+ /// The name of the trailTime property.
///
- public const string ResolutionPropertyName = "resolution";
+ public const string TrailTimePropertyName = "trailTime";
///
- /// The name of the leadTime property.
+ /// The name of the width property.
///
- public const string LeadTimePropertyName = "leadTime";
+ public const string WidthPropertyName = "width";
///
- /// The name of the trailTime property.
+ /// The name of the resolution property.
///
- public const string TrailTimePropertyName = "trailTime";
+ public const string ResolutionPropertyName = "resolution";
///
/// The name of the material property.
@@ -51,10 +51,10 @@ public class PathCesiumWriter : CesiumPropertyWriter
public const string DistanceDisplayConditionPropertyName = "distanceDisplayCondition";
private readonly Lazy m_show = new Lazy(() => new BooleanCesiumWriter(ShowPropertyName), false);
- private readonly Lazy m_width = new Lazy(() => new DoubleCesiumWriter(WidthPropertyName), false);
- private readonly Lazy m_resolution = new Lazy(() => new DoubleCesiumWriter(ResolutionPropertyName), false);
private readonly Lazy m_leadTime = new Lazy(() => new DoubleCesiumWriter(LeadTimePropertyName), false);
private readonly Lazy m_trailTime = new Lazy(() => new DoubleCesiumWriter(TrailTimePropertyName), false);
+ private readonly Lazy m_width = new Lazy(() => new DoubleCesiumWriter(WidthPropertyName), false);
+ private readonly Lazy m_resolution = new Lazy(() => new DoubleCesiumWriter(ResolutionPropertyName), false);
private readonly Lazy m_material = new Lazy(() => new PolylineMaterialCesiumWriter(MaterialPropertyName), false);
private readonly Lazy m_distanceDisplayCondition = new Lazy(() => new DistanceDisplayConditionCesiumWriter(DistanceDisplayConditionPropertyName), false);
@@ -164,436 +164,436 @@ public void WriteShowPropertyReference(string identifier, string[] propertyNames
}
///
- /// Gets the writer for the width property. The returned instance must be opened by calling the method before it can be used for writing. The width property defines the width of the path line. If not specified, the default value is 1.0.
+ /// Gets the writer for the leadTime property. The returned instance must be opened by calling the method before it can be used for writing. The leadTime property defines the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
[NotNull]
- public DoubleCesiumWriter WidthWriter
+ public DoubleCesiumWriter LeadTimeWriter
{
- get { return m_width.Value; }
+ get { return m_leadTime.Value; }
}
///
- /// Opens and returns the writer for the width property. The width property defines the width of the path line. If not specified, the default value is 1.0.
+ /// Opens and returns the writer for the leadTime property. The leadTime property defines the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
[NotNull]
- public DoubleCesiumWriter OpenWidthProperty()
+ public DoubleCesiumWriter OpenLeadTimeProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(WidthWriter);
+ return OpenAndReturn(LeadTimeWriter);
}
///
- /// Writes a value for the width property as a number value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
+ /// Writes a value for the leadTime property as a number value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The value.
- public void WriteWidthProperty(double value)
+ public void WriteLeadTimeProperty(double value)
{
- using (var writer = OpenWidthProperty())
+ using (var writer = OpenLeadTimeProperty())
{
writer.WriteNumber(value);
}
}
///
- /// Writes a value for the width property as a number value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
+ /// Writes a value for the leadTime property as a number value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The dates at which the value is specified.
/// The values corresponding to each date.
- public void WriteWidthProperty(IList dates, IList values)
+ public void WriteLeadTimeProperty(IList dates, IList values)
{
- using (var writer = OpenWidthProperty())
+ using (var writer = OpenLeadTimeProperty())
{
writer.WriteNumber(dates, values);
}
}
///
- /// Writes a value for the width property as a number value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
+ /// Writes a value for the leadTime property as a number value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The dates at which the value is specified.
/// The value corresponding to each date.
/// The index of the first element to write.
/// The number of elements to write.
- public void WriteWidthProperty(IList dates, IList values, int startIndex, int length)
+ public void WriteLeadTimeProperty(IList dates, IList values, int startIndex, int length)
{
- using (var writer = OpenWidthProperty())
+ using (var writer = OpenLeadTimeProperty())
{
writer.WriteNumber(dates, values, startIndex, length);
}
}
///
- /// Writes a value for the width property as a reference value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
+ /// Writes a value for the leadTime property as a reference value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The reference.
- public void WriteWidthPropertyReference(Reference value)
+ public void WriteLeadTimePropertyReference(Reference value)
{
- using (var writer = OpenWidthProperty())
+ using (var writer = OpenLeadTimeProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the width property as a reference value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
+ /// Writes a value for the leadTime property as a reference value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The reference.
- public void WriteWidthPropertyReference(string value)
+ public void WriteLeadTimePropertyReference(string value)
{
- using (var writer = OpenWidthProperty())
+ using (var writer = OpenLeadTimeProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the width property as a reference value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
+ /// Writes a value for the leadTime property as a reference value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteWidthPropertyReference(string identifier, string propertyName)
+ public void WriteLeadTimePropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenWidthProperty())
+ using (var writer = OpenLeadTimeProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the width property as a reference value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
+ /// Writes a value for the leadTime property as a reference value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteWidthPropertyReference(string identifier, string[] propertyNames)
+ public void WriteLeadTimePropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenWidthProperty())
+ using (var writer = OpenLeadTimeProperty())
{
writer.WriteReference(identifier, propertyNames);
}
}
///
- /// Gets the writer for the resolution property. The returned instance must be opened by calling the method before it can be used for writing. The resolution property defines the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Gets the writer for the trailTime property. The returned instance must be opened by calling the method before it can be used for writing. The trailTime property defines the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
[NotNull]
- public DoubleCesiumWriter ResolutionWriter
+ public DoubleCesiumWriter TrailTimeWriter
{
- get { return m_resolution.Value; }
+ get { return m_trailTime.Value; }
}
///
- /// Opens and returns the writer for the resolution property. The resolution property defines the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Opens and returns the writer for the trailTime property. The trailTime property defines the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
[NotNull]
- public DoubleCesiumWriter OpenResolutionProperty()
+ public DoubleCesiumWriter OpenTrailTimeProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(ResolutionWriter);
+ return OpenAndReturn(TrailTimeWriter);
}
///
- /// Writes a value for the resolution property as a number value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Writes a value for the trailTime property as a number value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The value.
- public void WriteResolutionProperty(double value)
+ public void WriteTrailTimeProperty(double value)
{
- using (var writer = OpenResolutionProperty())
+ using (var writer = OpenTrailTimeProperty())
{
writer.WriteNumber(value);
}
}
///
- /// Writes a value for the resolution property as a number value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Writes a value for the trailTime property as a number value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The dates at which the value is specified.
/// The values corresponding to each date.
- public void WriteResolutionProperty(IList dates, IList values)
+ public void WriteTrailTimeProperty(IList dates, IList values)
{
- using (var writer = OpenResolutionProperty())
+ using (var writer = OpenTrailTimeProperty())
{
writer.WriteNumber(dates, values);
}
}
///
- /// Writes a value for the resolution property as a number value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Writes a value for the trailTime property as a number value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The dates at which the value is specified.
/// The value corresponding to each date.
/// The index of the first element to write.
/// The number of elements to write.
- public void WriteResolutionProperty(IList dates, IList values, int startIndex, int length)
+ public void WriteTrailTimeProperty(IList dates, IList values, int startIndex, int length)
{
- using (var writer = OpenResolutionProperty())
+ using (var writer = OpenTrailTimeProperty())
{
writer.WriteNumber(dates, values, startIndex, length);
}
}
///
- /// Writes a value for the resolution property as a reference value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Writes a value for the trailTime property as a reference value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The reference.
- public void WriteResolutionPropertyReference(Reference value)
+ public void WriteTrailTimePropertyReference(Reference value)
{
- using (var writer = OpenResolutionProperty())
+ using (var writer = OpenTrailTimeProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the resolution property as a reference value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Writes a value for the trailTime property as a reference value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The reference.
- public void WriteResolutionPropertyReference(string value)
+ public void WriteTrailTimePropertyReference(string value)
{
- using (var writer = OpenResolutionProperty())
+ using (var writer = OpenTrailTimeProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the resolution property as a reference value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Writes a value for the trailTime property as a reference value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteResolutionPropertyReference(string identifier, string propertyName)
+ public void WriteTrailTimePropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenResolutionProperty())
+ using (var writer = OpenTrailTimeProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the resolution property as a reference value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
+ /// Writes a value for the trailTime property as a reference value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteResolutionPropertyReference(string identifier, string[] propertyNames)
+ public void WriteTrailTimePropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenResolutionProperty())
+ using (var writer = OpenTrailTimeProperty())
{
writer.WriteReference(identifier, propertyNames);
}
}
///
- /// Gets the writer for the leadTime property. The returned instance must be opened by calling the method before it can be used for writing. The leadTime property defines the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Gets the writer for the width property. The returned instance must be opened by calling the method before it can be used for writing. The width property defines the width of the path line. If not specified, the default value is 1.0.
///
[NotNull]
- public DoubleCesiumWriter LeadTimeWriter
+ public DoubleCesiumWriter WidthWriter
{
- get { return m_leadTime.Value; }
+ get { return m_width.Value; }
}
///
- /// Opens and returns the writer for the leadTime property. The leadTime property defines the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Opens and returns the writer for the width property. The width property defines the width of the path line. If not specified, the default value is 1.0.
///
[NotNull]
- public DoubleCesiumWriter OpenLeadTimeProperty()
+ public DoubleCesiumWriter OpenWidthProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(LeadTimeWriter);
+ return OpenAndReturn(WidthWriter);
}
///
- /// Writes a value for the leadTime property as a number value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the width property as a number value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
///
/// The value.
- public void WriteLeadTimeProperty(double value)
+ public void WriteWidthProperty(double value)
{
- using (var writer = OpenLeadTimeProperty())
+ using (var writer = OpenWidthProperty())
{
writer.WriteNumber(value);
}
}
///
- /// Writes a value for the leadTime property as a number value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the width property as a number value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
///
/// The dates at which the value is specified.
/// The values corresponding to each date.
- public void WriteLeadTimeProperty(IList dates, IList values)
+ public void WriteWidthProperty(IList dates, IList values)
{
- using (var writer = OpenLeadTimeProperty())
+ using (var writer = OpenWidthProperty())
{
writer.WriteNumber(dates, values);
}
}
///
- /// Writes a value for the leadTime property as a number value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the width property as a number value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
///
/// The dates at which the value is specified.
/// The value corresponding to each date.
/// The index of the first element to write.
/// The number of elements to write.
- public void WriteLeadTimeProperty(IList dates, IList values, int startIndex, int length)
+ public void WriteWidthProperty(IList dates, IList values, int startIndex, int length)
{
- using (var writer = OpenLeadTimeProperty())
+ using (var writer = OpenWidthProperty())
{
writer.WriteNumber(dates, values, startIndex, length);
}
}
///
- /// Writes a value for the leadTime property as a reference value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the width property as a reference value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
///
/// The reference.
- public void WriteLeadTimePropertyReference(Reference value)
+ public void WriteWidthPropertyReference(Reference value)
{
- using (var writer = OpenLeadTimeProperty())
+ using (var writer = OpenWidthProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the leadTime property as a reference value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the width property as a reference value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
///
/// The reference.
- public void WriteLeadTimePropertyReference(string value)
+ public void WriteWidthPropertyReference(string value)
{
- using (var writer = OpenLeadTimeProperty())
+ using (var writer = OpenWidthProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the leadTime property as a reference value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the width property as a reference value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteLeadTimePropertyReference(string identifier, string propertyName)
+ public void WriteWidthPropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenLeadTimeProperty())
+ using (var writer = OpenWidthProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the leadTime property as a reference value. The leadTime property specifies the time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the width property as a reference value. The width property specifies the width of the path line. If not specified, the default value is 1.0.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteLeadTimePropertyReference(string identifier, string[] propertyNames)
+ public void WriteWidthPropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenLeadTimeProperty())
+ using (var writer = OpenWidthProperty())
{
writer.WriteReference(identifier, propertyNames);
}
}
///
- /// Gets the writer for the trailTime property. The returned instance must be opened by calling the method before it can be used for writing. The trailTime property defines the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Gets the writer for the resolution property. The returned instance must be opened by calling the method before it can be used for writing. The resolution property defines the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
[NotNull]
- public DoubleCesiumWriter TrailTimeWriter
+ public DoubleCesiumWriter ResolutionWriter
{
- get { return m_trailTime.Value; }
+ get { return m_resolution.Value; }
}
///
- /// Opens and returns the writer for the trailTime property. The trailTime property defines the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Opens and returns the writer for the resolution property. The resolution property defines the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
[NotNull]
- public DoubleCesiumWriter OpenTrailTimeProperty()
+ public DoubleCesiumWriter OpenResolutionProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(TrailTimeWriter);
+ return OpenAndReturn(ResolutionWriter);
}
///
- /// Writes a value for the trailTime property as a number value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the resolution property as a number value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
/// The value.
- public void WriteTrailTimeProperty(double value)
+ public void WriteResolutionProperty(double value)
{
- using (var writer = OpenTrailTimeProperty())
+ using (var writer = OpenResolutionProperty())
{
writer.WriteNumber(value);
}
}
///
- /// Writes a value for the trailTime property as a number value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the resolution property as a number value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
/// The dates at which the value is specified.
/// The values corresponding to each date.
- public void WriteTrailTimeProperty(IList dates, IList values)
+ public void WriteResolutionProperty(IList dates, IList values)
{
- using (var writer = OpenTrailTimeProperty())
+ using (var writer = OpenResolutionProperty())
{
writer.WriteNumber(dates, values);
}
}
///
- /// Writes a value for the trailTime property as a number value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the resolution property as a number value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
/// The dates at which the value is specified.
/// The value corresponding to each date.
/// The index of the first element to write.
/// The number of elements to write.
- public void WriteTrailTimeProperty(IList dates, IList values, int startIndex, int length)
+ public void WriteResolutionProperty(IList dates, IList values, int startIndex, int length)
{
- using (var writer = OpenTrailTimeProperty())
+ using (var writer = OpenResolutionProperty())
{
writer.WriteNumber(dates, values, startIndex, length);
}
}
///
- /// Writes a value for the trailTime property as a reference value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the resolution property as a reference value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
/// The reference.
- public void WriteTrailTimePropertyReference(Reference value)
+ public void WriteResolutionPropertyReference(Reference value)
{
- using (var writer = OpenTrailTimeProperty())
+ using (var writer = OpenResolutionProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the trailTime property as a reference value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the resolution property as a reference value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
/// The reference.
- public void WriteTrailTimePropertyReference(string value)
+ public void WriteResolutionPropertyReference(string value)
{
- using (var writer = OpenTrailTimeProperty())
+ using (var writer = OpenResolutionProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the trailTime property as a reference value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the resolution property as a reference value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteTrailTimePropertyReference(string identifier, string propertyName)
+ public void WriteResolutionPropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenTrailTimeProperty())
+ using (var writer = OpenResolutionProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the trailTime property as a reference value. The trailTime property specifies the time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
+ /// Writes a value for the resolution property as a reference value. The resolution property specifies the maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path. If not specified, the default value is 60.0.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteTrailTimePropertyReference(string identifier, string[] propertyNames)
+ public void WriteResolutionPropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenTrailTimeProperty())
+ using (var writer = OpenResolutionProperty())
{
writer.WriteReference(identifier, propertyNames);
}
diff --git a/DotNet/CesiumLanguageWriter/Generated/PolygonCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/PolygonCesiumWriter.cs
index 1d51c24c..0c3f86a7 100644
--- a/DotNet/CesiumLanguageWriter/Generated/PolygonCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/PolygonCesiumWriter.cs
@@ -37,14 +37,14 @@ public class PolygonCesiumWriter : CesiumPropertyWriter
public const string HeightPropertyName = "height";
///
- /// The name of the extrudedHeight property.
+ /// The name of the heightReference property.
///
- public const string ExtrudedHeightPropertyName = "extrudedHeight";
+ public const string HeightReferencePropertyName = "heightReference";
///
- /// The name of the heightReference property.
+ /// The name of the extrudedHeight property.
///
- public const string HeightReferencePropertyName = "heightReference";
+ public const string ExtrudedHeightPropertyName = "extrudedHeight";
///
/// The name of the extrudedHeightReference property.
@@ -111,6 +111,11 @@ public class PolygonCesiumWriter : CesiumPropertyWriter
///
public const string DistanceDisplayConditionPropertyName = "distanceDisplayCondition";
+ ///
+ /// The name of the classificationType property.
+ ///
+ public const string ClassificationTypePropertyName = "classificationType";
+
///
/// The name of the zIndex property.
///
@@ -120,8 +125,8 @@ public class PolygonCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_positions = new Lazy(() => new PositionListCesiumWriter(PositionsPropertyName), false);
private readonly Lazy m_arcType = new Lazy(() => new ArcTypeCesiumWriter(ArcTypePropertyName), false);
private readonly Lazy m_height = new Lazy(() => new DoubleCesiumWriter(HeightPropertyName), false);
- private readonly Lazy m_extrudedHeight = new Lazy(() => new DoubleCesiumWriter(ExtrudedHeightPropertyName), false);
private readonly Lazy m_heightReference = new Lazy(() => new HeightReferenceCesiumWriter(HeightReferencePropertyName), false);
+ private readonly Lazy m_extrudedHeight = new Lazy(() => new DoubleCesiumWriter(ExtrudedHeightPropertyName), false);
private readonly Lazy m_extrudedHeightReference = new Lazy(() => new HeightReferenceCesiumWriter(ExtrudedHeightReferencePropertyName), false);
private readonly Lazy m_stRotation = new Lazy(() => new DoubleCesiumWriter(StRotationPropertyName), false);
private readonly Lazy m_granularity = new Lazy(() => new DoubleCesiumWriter(GranularityPropertyName), false);
@@ -135,6 +140,7 @@ public class PolygonCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_closeBottom = new Lazy(() => new BooleanCesiumWriter(CloseBottomPropertyName), false);
private readonly Lazy m_shadows = new Lazy(() => new ShadowModeCesiumWriter(ShadowsPropertyName), false);
private readonly Lazy m_distanceDisplayCondition = new Lazy(() => new DistanceDisplayConditionCesiumWriter(DistanceDisplayConditionPropertyName), false);
+ private readonly Lazy m_classificationType = new Lazy(() => new ClassificationTypeCesiumWriter(ClassificationTypePropertyName), false);
private readonly Lazy m_zIndex = new Lazy(() => new IntegerCesiumWriter(ZIndexPropertyName), false);
///
@@ -500,190 +506,190 @@ public void WriteHeightPropertyReference(string identifier, string[] propertyNam
}
///
- /// Gets the writer for the extrudedHeight property. The returned instance must be opened by calling the method before it can be used for writing. The extrudedHeight property defines the extruded height of the polygon.
+ /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
[NotNull]
- public DoubleCesiumWriter ExtrudedHeightWriter
+ public HeightReferenceCesiumWriter HeightReferenceWriter
{
- get { return m_extrudedHeight.Value; }
+ get { return m_heightReference.Value; }
}
///
- /// Opens and returns the writer for the extrudedHeight property. The extrudedHeight property defines the extruded height of the polygon.
+ /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
[NotNull]
- public DoubleCesiumWriter OpenExtrudedHeightProperty()
+ public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(ExtrudedHeightWriter);
- }
-
- ///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the polygon.
- ///
- /// The value.
- public void WriteExtrudedHeightProperty(double value)
- {
- using (var writer = OpenExtrudedHeightProperty())
- {
- writer.WriteNumber(value);
- }
- }
-
- ///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the polygon.
- ///
- /// The dates at which the value is specified.
- /// The values corresponding to each date.
- public void WriteExtrudedHeightProperty(IList dates, IList values)
- {
- using (var writer = OpenExtrudedHeightProperty())
- {
- writer.WriteNumber(dates, values);
- }
+ return OpenAndReturn(HeightReferenceWriter);
}
///
- /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the polygon.
+ /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
- /// The dates at which the value is specified.
- /// The value corresponding to each date.
- /// The index of the first element to write.
- /// The number of elements to write.
- public void WriteExtrudedHeightProperty(IList dates, IList values, int startIndex, int length)
+ /// The height reference.
+ public void WriteHeightReferenceProperty(CesiumHeightReference value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
- writer.WriteNumber(dates, values, startIndex, length);
+ writer.WriteHeightReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the polygon.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The reference.
- public void WriteExtrudedHeightPropertyReference(Reference value)
+ public void WriteHeightReferencePropertyReference(Reference value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the polygon.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The reference.
- public void WriteExtrudedHeightPropertyReference(string value)
+ public void WriteHeightReferencePropertyReference(string value)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the polygon.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteExtrudedHeightPropertyReference(string identifier, string propertyName)
+ public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the polygon.
+ /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteExtrudedHeightPropertyReference(string identifier, string[] propertyNames)
+ public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenExtrudedHeightProperty())
+ using (var writer = OpenHeightReferenceProperty())
{
writer.WriteReference(identifier, propertyNames);
}
}
///
- /// Gets the writer for the heightReference property. The returned instance must be opened by calling the method before it can be used for writing. The heightReference property defines the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Gets the writer for the extrudedHeight property. The returned instance must be opened by calling the method before it can be used for writing. The extrudedHeight property defines the extruded height of the polygon.
///
[NotNull]
- public HeightReferenceCesiumWriter HeightReferenceWriter
+ public DoubleCesiumWriter ExtrudedHeightWriter
{
- get { return m_heightReference.Value; }
+ get { return m_extrudedHeight.Value; }
}
///
- /// Opens and returns the writer for the heightReference property. The heightReference property defines the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Opens and returns the writer for the extrudedHeight property. The extrudedHeight property defines the extruded height of the polygon.
///
[NotNull]
- public HeightReferenceCesiumWriter OpenHeightReferenceProperty()
+ public DoubleCesiumWriter OpenExtrudedHeightProperty()
{
OpenIntervalIfNecessary();
- return OpenAndReturn(HeightReferenceWriter);
+ return OpenAndReturn(ExtrudedHeightWriter);
}
///
- /// Writes a value for the heightReference property as a heightReference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the polygon.
///
- /// The height reference.
- public void WriteHeightReferenceProperty(CesiumHeightReference value)
+ /// The value.
+ public void WriteExtrudedHeightProperty(double value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
- writer.WriteHeightReference(value);
+ writer.WriteNumber(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the polygon.
+ ///
+ /// The dates at which the value is specified.
+ /// The values corresponding to each date.
+ public void WriteExtrudedHeightProperty(IList dates, IList values)
+ {
+ using (var writer = OpenExtrudedHeightProperty())
+ {
+ writer.WriteNumber(dates, values);
+ }
+ }
+
+ ///
+ /// Writes a value for the extrudedHeight property as a number value. The extrudedHeight property specifies the extruded height of the polygon.
+ ///
+ /// The dates at which the value is specified.
+ /// The value corresponding to each date.
+ /// The index of the first element to write.
+ /// The number of elements to write.
+ public void WriteExtrudedHeightProperty(IList dates, IList values, int startIndex, int length)
+ {
+ using (var writer = OpenExtrudedHeightProperty())
+ {
+ writer.WriteNumber(dates, values, startIndex, length);
+ }
+ }
+
+ ///
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the polygon.
///
/// The reference.
- public void WriteHeightReferencePropertyReference(Reference value)
+ public void WriteExtrudedHeightPropertyReference(Reference value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the polygon.
///
/// The reference.
- public void WriteHeightReferencePropertyReference(string value)
+ public void WriteExtrudedHeightPropertyReference(string value)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(value);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the polygon.
///
/// The identifier of the object which contains the referenced property.
/// The property on the referenced object.
- public void WriteHeightReferencePropertyReference(string identifier, string propertyName)
+ public void WriteExtrudedHeightPropertyReference(string identifier, string propertyName)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(identifier, propertyName);
}
}
///
- /// Writes a value for the heightReference property as a reference value. The heightReference property specifies the height reference of the polygon, which indicates if height is relative to terrain or not. If not specified, the default value is NONE.
+ /// Writes a value for the extrudedHeight property as a reference value. The extrudedHeight property specifies the extruded height of the polygon.
///
/// The identifier of the object which contains the referenced property.
/// The hierarchy of properties to be indexed on the referenced object.
- public void WriteHeightReferencePropertyReference(string identifier, string[] propertyNames)
+ public void WriteExtrudedHeightPropertyReference(string identifier, string[] propertyNames)
{
- using (var writer = OpenHeightReferenceProperty())
+ using (var writer = OpenExtrudedHeightProperty())
{
writer.WriteReference(identifier, propertyNames);
}
@@ -1903,6 +1909,87 @@ public void WriteDistanceDisplayConditionPropertyReference(string identifier, st
}
}
+ ///
+ /// Gets the writer for the classificationType property. The returned instance must be opened by calling the method before it can be used for writing. The classificationType property defines whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ [NotNull]
+ public ClassificationTypeCesiumWriter ClassificationTypeWriter
+ {
+ get { return m_classificationType.Value; }
+ }
+
+ ///
+ /// Opens and returns the writer for the classificationType property. The classificationType property defines whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ [NotNull]
+ public ClassificationTypeCesiumWriter OpenClassificationTypeProperty()
+ {
+ OpenIntervalIfNecessary();
+ return OpenAndReturn(ClassificationTypeWriter);
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a classificationType value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The classification type.
+ public void WriteClassificationTypeProperty(CesiumClassificationType value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteClassificationType(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The reference.
+ public void WriteClassificationTypePropertyReference(Reference value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The reference.
+ public void WriteClassificationTypePropertyReference(string value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The property on the referenced object.
+ public void WriteClassificationTypePropertyReference(string identifier, string propertyName)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(identifier, propertyName);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The hierarchy of properties to be indexed on the referenced object.
+ public void WriteClassificationTypePropertyReference(string identifier, string[] propertyNames)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(identifier, propertyNames);
+ }
+ }
+
///
/// Gets the writer for the zIndex property. The returned instance must be opened by calling the method before it can be used for writing. The zIndex property defines the z-index of the polygon, used for ordering ground geometry. Only has an effect if the polygon is constant, and height and extrudedHeight are not specified. If not specified, the default value is 0.
///
diff --git a/DotNet/CesiumLanguageWriter/Generated/PolylineCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/PolylineCesiumWriter.cs
index 9a8ee9a8..edb475e5 100644
--- a/DotNet/CesiumLanguageWriter/Generated/PolylineCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/PolylineCesiumWriter.cs
@@ -70,6 +70,11 @@ public class PolylineCesiumWriter : CesiumPropertyWriter
///
public const string ClampToGroundPropertyName = "clampToGround";
+ ///
+ /// The name of the classificationType property.
+ ///
+ public const string ClassificationTypePropertyName = "classificationType";
+
///
/// The name of the zIndex property.
///
@@ -86,6 +91,7 @@ public class PolylineCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_depthFailMaterial = new Lazy(() => new PolylineMaterialCesiumWriter(DepthFailMaterialPropertyName), false);
private readonly Lazy m_distanceDisplayCondition = new Lazy(() => new DistanceDisplayConditionCesiumWriter(DistanceDisplayConditionPropertyName), false);
private readonly Lazy m_clampToGround = new Lazy(() => new BooleanCesiumWriter(ClampToGroundPropertyName), false);
+ private readonly Lazy m_classificationType = new Lazy(() => new ClassificationTypeCesiumWriter(ClassificationTypePropertyName), false);
private readonly Lazy m_zIndex = new Lazy(() => new IntegerCesiumWriter(ZIndexPropertyName), false);
///
@@ -962,6 +968,87 @@ public void WriteClampToGroundPropertyReference(string identifier, string[] prop
}
}
+ ///
+ /// Gets the writer for the classificationType property. The returned instance must be opened by calling the method before it can be used for writing. The classificationType property defines whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ [NotNull]
+ public ClassificationTypeCesiumWriter ClassificationTypeWriter
+ {
+ get { return m_classificationType.Value; }
+ }
+
+ ///
+ /// Opens and returns the writer for the classificationType property. The classificationType property defines whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ [NotNull]
+ public ClassificationTypeCesiumWriter OpenClassificationTypeProperty()
+ {
+ OpenIntervalIfNecessary();
+ return OpenAndReturn(ClassificationTypeWriter);
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a classificationType value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The classification type.
+ public void WriteClassificationTypeProperty(CesiumClassificationType value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteClassificationType(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The reference.
+ public void WriteClassificationTypePropertyReference(Reference value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The reference.
+ public void WriteClassificationTypePropertyReference(string value)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(value);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The property on the referenced object.
+ public void WriteClassificationTypePropertyReference(string identifier, string propertyName)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(identifier, propertyName);
+ }
+ }
+
+ ///
+ /// Writes a value for the classificationType property as a reference value. The classificationType property specifies whether a classification affects terrain, 3D Tiles or both. If not specified, the default value is BOTH.
+ ///
+ /// The identifier of the object which contains the referenced property.
+ /// The hierarchy of properties to be indexed on the referenced object.
+ public void WriteClassificationTypePropertyReference(string identifier, string[] propertyNames)
+ {
+ using (var writer = OpenClassificationTypeProperty())
+ {
+ writer.WriteReference(identifier, propertyNames);
+ }
+ }
+
///
/// Gets the writer for the zIndex property. The returned instance must be opened by calling the method before it can be used for writing. The zIndex property defines the z-index of the polyline, used for ordering ground geometry. Only has an effect if the polyline is constant, and clampToGround is true. If not specified, the default value is 0.
///
diff --git a/DotNet/CesiumLanguageWriter/Generated/RectangleCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/RectangleCesiumWriter.cs
index 678d4b7a..ab1e50c3 100644
--- a/DotNet/CesiumLanguageWriter/Generated/RectangleCesiumWriter.cs
+++ b/DotNet/CesiumLanguageWriter/Generated/RectangleCesiumWriter.cs
@@ -32,14 +32,14 @@ public class RectangleCesiumWriter : CesiumPropertyWriter
public const string HeightPropertyName = "height";
///
- /// The name of the extrudedHeight property.
+ /// The name of the heightReference property.
///
- public const string ExtrudedHeightPropertyName = "extrudedHeight";
+ public const string HeightReferencePropertyName = "heightReference";
///
- /// The name of the heightReference property.
+ /// The name of the extrudedHeight property.
///
- public const string HeightReferencePropertyName = "heightReference";
+ public const string ExtrudedHeightPropertyName = "extrudedHeight";
///
/// The name of the extrudedHeightReference property.
@@ -96,6 +96,11 @@ public class RectangleCesiumWriter : CesiumPropertyWriter
///
public const string DistanceDisplayConditionPropertyName = "distanceDisplayCondition";
+ ///
+ /// The name of the classificationType property.
+ ///
+ public const string ClassificationTypePropertyName = "classificationType";
+
///
/// The name of the zIndex property.
///
@@ -104,8 +109,8 @@ public class RectangleCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_show = new Lazy(() => new BooleanCesiumWriter(ShowPropertyName), false);
private readonly Lazy m_coordinates = new Lazy(() => new RectangleCoordinatesCesiumWriter(CoordinatesPropertyName), false);
private readonly Lazy m_height = new Lazy(() => new DoubleCesiumWriter(HeightPropertyName), false);
- private readonly Lazy m_extrudedHeight = new Lazy(() => new DoubleCesiumWriter(ExtrudedHeightPropertyName), false);
private readonly Lazy m_heightReference = new Lazy(() => new HeightReferenceCesiumWriter(HeightReferencePropertyName), false);
+ private readonly Lazy m_extrudedHeight = new Lazy(() => new DoubleCesiumWriter(ExtrudedHeightPropertyName), false);
private readonly Lazy m_extrudedHeightReference = new Lazy(() => new HeightReferenceCesiumWriter(ExtrudedHeightReferencePropertyName), false);
private readonly Lazy m_rotation = new Lazy(() => new DoubleCesiumWriter(RotationPropertyName), false);
private readonly Lazy m_stRotation = new Lazy(() => new DoubleCesiumWriter(StRotationPropertyName), false);
@@ -117,6 +122,7 @@ public class RectangleCesiumWriter : CesiumPropertyWriter
private readonly Lazy m_outlineWidth = new Lazy(() => new DoubleCesiumWriter(OutlineWidthPropertyName), false);
private readonly Lazy m_shadows = new Lazy(() => new ShadowModeCesiumWriter(ShadowsPropertyName), false);
private readonly Lazy m_distanceDisplayCondition = new Lazy(() => new DistanceDisplayConditionCesiumWriter(DistanceDisplayConditionPropertyName), false);
+ private readonly Lazy m_classificationType = new Lazy(() => new ClassificationTypeCesiumWriter(ClassificationTypePropertyName), false);
private readonly Lazy m_zIndex = new Lazy(() => new IntegerCesiumWriter(ZIndexPropertyName), false);
///