Skip to content

Commit 549ef38

Browse files
authored
Merge pull request #168 from AnalyticalGraphicsInc/polygonHoles
Add polygon holes
2 parents 74f2247 + f499984 commit 549ef38

File tree

78 files changed

+2691
-165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2691
-165
lines changed

DotNet/CesiumLanguageWriter.sln

+10-1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Schema", "Schema", "{04E49F
7272
..\Schema\PolylineOutlineMaterial.json = ..\Schema\PolylineOutlineMaterial.json
7373
..\Schema\Position.json = ..\Schema\Position.json
7474
..\Schema\PositionList.json = ..\Schema\PositionList.json
75+
..\Schema\PositionListOfLists.json = ..\Schema\PositionListOfLists.json
7576
..\Schema\Rectangle.json = ..\Schema\Rectangle.json
7677
..\Schema\RectangleCoordinates.json = ..\Schema\RectangleCoordinates.json
7778
..\Schema\Repeat.json = ..\Schema\Repeat.json
@@ -95,6 +96,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenerateFromSchema", "Gener
9596
EndProject
9697
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{5E4C0F36-35DC-4ED8-91EC-EAAC109836A0}"
9798
ProjectSection(SolutionItems) = preProject
99+
..\Schema\Examples\Articulations.json = ..\Schema\Examples\Articulations.json
98100
..\Schema\Examples\Billboard.json = ..\Schema\Examples\Billboard.json
99101
..\Schema\Examples\BoundingRectangleValue.json = ..\Schema\Examples\BoundingRectangleValue.json
100102
..\Schema\Examples\BoundingRectangleValueSamples.json = ..\Schema\Examples\BoundingRectangleValueSamples.json
@@ -109,7 +111,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{5E
109111
..\Schema\Examples\DistanceDisplayConditionValue.json = ..\Schema\Examples\DistanceDisplayConditionValue.json
110112
..\Schema\Examples\DistanceDisplayConditionValueSamples.json = ..\Schema\Examples\DistanceDisplayConditionValueSamples.json
111113
..\Schema\Examples\DocumentPacket.json = ..\Schema\Examples\DocumentPacket.json
112-
..\Schema\Examples\Articulations.json = ..\Schema\Examples\Articulations.json
113114
..\Schema\Examples\ModelArticulations.json = ..\Schema\Examples\ModelArticulations.json
114115
..\Schema\Examples\ModelNodeTransformations.json = ..\Schema\Examples\ModelNodeTransformations.json
115116
..\Schema\Examples\NearFarScalarValue.json = ..\Schema\Examples\NearFarScalarValue.json
@@ -163,11 +164,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ValueProperties", "ValuePro
163164
..\Schema\ValueProperties\BooleanValueProperty.json = ..\Schema\ValueProperties\BooleanValueProperty.json
164165
..\Schema\ValueProperties\BoundingRectangleValueProperty.json = ..\Schema\ValueProperties\BoundingRectangleValueProperty.json
165166
..\Schema\ValueProperties\Cartesian2ValueProperty.json = ..\Schema\ValueProperties\Cartesian2ValueProperty.json
167+
..\Schema\ValueProperties\Cartesian3ListOfListsValueProperty.json = ..\Schema\ValueProperties\Cartesian3ListOfListsValueProperty.json
166168
..\Schema\ValueProperties\Cartesian3ListValueProperty.json = ..\Schema\ValueProperties\Cartesian3ListValueProperty.json
167169
..\Schema\ValueProperties\Cartesian3ValueProperty.json = ..\Schema\ValueProperties\Cartesian3ValueProperty.json
168170
..\Schema\ValueProperties\Cartesian3VelocityValueProperty.json = ..\Schema\ValueProperties\Cartesian3VelocityValueProperty.json
171+
..\Schema\ValueProperties\CartographicDegreesListOfListsValueProperty.json = ..\Schema\ValueProperties\CartographicDegreesListOfListsValueProperty.json
169172
..\Schema\ValueProperties\CartographicDegreesListValueProperty.json = ..\Schema\ValueProperties\CartographicDegreesListValueProperty.json
170173
..\Schema\ValueProperties\CartographicDegreesValueProperty.json = ..\Schema\ValueProperties\CartographicDegreesValueProperty.json
174+
..\Schema\ValueProperties\CartographicRadiansListOfListsValueProperty.json = ..\Schema\ValueProperties\CartographicRadiansListOfListsValueProperty.json
171175
..\Schema\ValueProperties\CartographicRadiansListValueProperty.json = ..\Schema\ValueProperties\CartographicRadiansListValueProperty.json
172176
..\Schema\ValueProperties\CartographicRadiansValueProperty.json = ..\Schema\ValueProperties\CartographicRadiansValueProperty.json
173177
..\Schema\ValueProperties\CartographicRectangleDegreesValueProperty.json = ..\Schema\ValueProperties\CartographicRectangleDegreesValueProperty.json
@@ -184,6 +188,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ValueProperties", "ValuePro
184188
..\Schema\ValueProperties\IntegerValueProperty.json = ..\Schema\ValueProperties\IntegerValueProperty.json
185189
..\Schema\ValueProperties\LabelStyleValueProperty.json = ..\Schema\ValueProperties\LabelStyleValueProperty.json
186190
..\Schema\ValueProperties\NearFarScalarValueProperty.json = ..\Schema\ValueProperties\NearFarScalarValueProperty.json
191+
..\Schema\ValueProperties\ReferenceListOfListsValueProperty.json = ..\Schema\ValueProperties\ReferenceListOfListsValueProperty.json
187192
..\Schema\ValueProperties\ReferenceListValueProperty.json = ..\Schema\ValueProperties\ReferenceListValueProperty.json
188193
..\Schema\ValueProperties\ReferenceValueProperty.json = ..\Schema\ValueProperties\ReferenceValueProperty.json
189194
..\Schema\ValueProperties\RgbafValueProperty.json = ..\Schema\ValueProperties\RgbafValueProperty.json
@@ -209,11 +214,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Values", "Values", "{A9C205
209214
..\Schema\Values\BooleanValue.json = ..\Schema\Values\BooleanValue.json
210215
..\Schema\Values\BoundingRectangleValue.json = ..\Schema\Values\BoundingRectangleValue.json
211216
..\Schema\Values\Cartesian2Value.json = ..\Schema\Values\Cartesian2Value.json
217+
..\Schema\Values\Cartesian3ListOfListsValue.json = ..\Schema\Values\Cartesian3ListOfListsValue.json
212218
..\Schema\Values\Cartesian3ListValue.json = ..\Schema\Values\Cartesian3ListValue.json
213219
..\Schema\Values\Cartesian3Value.json = ..\Schema\Values\Cartesian3Value.json
214220
..\Schema\Values\Cartesian3VelocityValue.json = ..\Schema\Values\Cartesian3VelocityValue.json
221+
..\Schema\Values\CartographicDegreesListOfListsValue.json = ..\Schema\Values\CartographicDegreesListOfListsValue.json
215222
..\Schema\Values\CartographicDegreesListValue.json = ..\Schema\Values\CartographicDegreesListValue.json
216223
..\Schema\Values\CartographicDegreesValue.json = ..\Schema\Values\CartographicDegreesValue.json
224+
..\Schema\Values\CartographicRadiansListOfListsValue.json = ..\Schema\Values\CartographicRadiansListOfListsValue.json
217225
..\Schema\Values\CartographicRadiansListValue.json = ..\Schema\Values\CartographicRadiansListValue.json
218226
..\Schema\Values\CartographicRadiansValue.json = ..\Schema\Values\CartographicRadiansValue.json
219227
..\Schema\Values\CartographicRectangleDegreesValue.json = ..\Schema\Values\CartographicRectangleDegreesValue.json
@@ -232,6 +240,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Values", "Values", "{A9C205
232240
..\Schema\Values\IntegerValue.json = ..\Schema\Values\IntegerValue.json
233241
..\Schema\Values\LabelStyleValue.json = ..\Schema\Values\LabelStyleValue.json
234242
..\Schema\Values\NearFarScalarValue.json = ..\Schema\Values\NearFarScalarValue.json
243+
..\Schema\Values\ReferenceListOfListsValue.json = ..\Schema\Values\ReferenceListOfListsValue.json
235244
..\Schema\Values\ReferenceListValue.json = ..\Schema\Values\ReferenceListValue.json
236245
..\Schema\Values\ReferenceValue.json = ..\Schema\Values\ReferenceValue.json
237246
..\Schema\Values\RgbafValue.json = ..\Schema\Values\RgbafValue.json
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Collections.Generic;
2+
using JetBrains.Annotations;
3+
4+
namespace CesiumLanguageWriter.Advanced
5+
{
6+
/// <summary>
7+
/// Adapts a class that implements <see cref="ICesiumCartesian3ListOfListsValuePropertyWriter"/> to implement
8+
/// <see cref="ICesiumPropertyWriter"/> for a list of lists of <see cref="Cartesian"/> values.
9+
/// </summary>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartesian3ListOfListsValuePropertyWriter"/> to adapt.</typeparam>
11+
[CSToJavaUseWildcardGenerics]
12+
public class CesiumCartesian3ListOfListsValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<IEnumerable<Cartesian>>>
13+
where TFrom : class, ICesiumCartesian3ListOfListsValuePropertyWriter
14+
{
15+
/// <summary>
16+
/// Initializes a new instance.
17+
/// </summary>
18+
/// <param name="parent">The instance to wrap.</param>
19+
/// <param name="writeValueCallback">The callback to write a list of lists of <see cref="Cartesian"/> values.</param>
20+
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param>
21+
public CesiumCartesian3ListOfListsValuePropertyAdaptor([NotNull] TFrom parent,
22+
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, IEnumerable<IEnumerable<Cartesian>>> writeValueCallback,
23+
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback)
24+
: base(parent, writeValueCallback, writeDeleteValueCallback)
25+
{
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Collections.Generic;
2+
using JetBrains.Annotations;
3+
4+
namespace CesiumLanguageWriter.Advanced
5+
{
6+
/// <summary>
7+
/// Adapts a class that implements <see cref="ICesiumCartographicDegreesListOfListsValuePropertyWriter"/> to implement
8+
/// <see cref="ICesiumPropertyWriter"/> for a list of lists of <see cref="Cartographic"/> values.
9+
/// </summary>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartographicDegreesListOfListsValuePropertyWriter"/> to adapt.</typeparam>
11+
[CSToJavaUseWildcardGenerics]
12+
public class CesiumCartographicDegreesListOfListsValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<IEnumerable<Cartographic>>>
13+
where TFrom : class, ICesiumCartographicDegreesListOfListsValuePropertyWriter
14+
{
15+
/// <summary>
16+
/// Initializes a new instance.
17+
/// </summary>
18+
/// <param name="parent">The instance to wrap.</param>
19+
/// <param name="writeValueCallback">The callback to write a list of lists of <see cref="Cartographic"/> values.</param>
20+
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param>
21+
public CesiumCartographicDegreesListOfListsValuePropertyAdaptor([NotNull] TFrom parent,
22+
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, IEnumerable<IEnumerable<Cartographic>>> writeValueCallback,
23+
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback)
24+
: base(parent, writeValueCallback, writeDeleteValueCallback)
25+
{
26+
}
27+
}
28+
}

DotNet/CesiumLanguageWriter/Advanced/CesiumCartographicDegreesListValuePropertyAdaptor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace CesiumLanguageWriter.Advanced
77
/// Adapts a class that implements <see cref="ICesiumCartographicDegreesListValuePropertyWriter"/> to implement
88
/// <see cref="ICesiumPropertyWriter"/> for a list of <see cref="Cartographic"/> values.
99
/// </summary>
10-
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartographicDegreesValuePropertyWriter"/> to adapt.</typeparam>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartographicDegreesListValuePropertyWriter"/> to adapt.</typeparam>
1111
public class CesiumCartographicDegreesListValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<Cartographic>>
1212
where TFrom : class, ICesiumCartographicDegreesListValuePropertyWriter
1313
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Collections.Generic;
2+
using JetBrains.Annotations;
3+
4+
namespace CesiumLanguageWriter.Advanced
5+
{
6+
/// <summary>
7+
/// Adapts a class that implements <see cref="ICesiumCartographicRadiansListOfListsValuePropertyWriter"/> to implement
8+
/// <see cref="ICesiumPropertyWriter"/> for a list of lists of <see cref="Cartographic"/> values.
9+
/// </summary>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartographicRadiansListOfListsValuePropertyWriter"/> to adapt.</typeparam>
11+
[CSToJavaUseWildcardGenerics]
12+
public class CesiumCartographicRadiansListOfListsValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<IEnumerable<Cartographic>>>
13+
where TFrom : class, ICesiumCartographicRadiansListOfListsValuePropertyWriter
14+
{
15+
/// <summary>
16+
/// Initializes a new instance.
17+
/// </summary>
18+
/// <param name="parent">The instance to wrap.</param>
19+
/// <param name="writeValueCallback">The callback to write a list of lists of <see cref="Cartographic"/> values.</param>
20+
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param>
21+
public CesiumCartographicRadiansListOfListsValuePropertyAdaptor([NotNull] TFrom parent,
22+
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, IEnumerable<IEnumerable<Cartographic>>> writeValueCallback,
23+
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback)
24+
: base(parent, writeValueCallback, writeDeleteValueCallback)
25+
{
26+
}
27+
}
28+
}

DotNet/CesiumLanguageWriter/Advanced/CesiumCartographicRadiansListValuePropertyAdaptor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace CesiumLanguageWriter.Advanced
77
/// Adapts a class that implements <see cref="ICesiumCartographicRadiansListValuePropertyWriter"/> to implement
88
/// <see cref="ICesiumPropertyWriter"/> for a list of <see cref="Cartographic"/> values.
99
/// </summary>
10-
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartographicRadiansValuePropertyWriter"/> to adapt.</typeparam>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumCartographicRadiansListValuePropertyWriter"/> to adapt.</typeparam>
1111
public class CesiumCartographicRadiansListValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<Cartographic>>
1212
where TFrom : class, ICesiumCartographicRadiansListValuePropertyWriter
1313
{

DotNet/CesiumLanguageWriter/Advanced/CesiumDoubleListValuePropertyAdaptor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace CesiumLanguageWriter.Advanced
77
/// Adapts a class that implements <see cref="ICesiumDoubleListValuePropertyWriter"/> to implement
88
/// <see cref="ICesiumPropertyWriter"/> for a list of <see cref="double"/> values.
99
/// </summary>
10-
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumDoubleValuePropertyWriter"/> to adapt.</typeparam>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumDoubleListValuePropertyWriter"/> to adapt.</typeparam>
1111
public class CesiumDoubleListValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<double>>
1212
where TFrom : class, ICesiumDoubleListValuePropertyWriter
1313
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System.Collections.Generic;
2+
using JetBrains.Annotations;
3+
4+
namespace CesiumLanguageWriter.Advanced
5+
{
6+
/// <summary>
7+
/// Adapts a class that implements <see cref="ICesiumReferenceListOfListsValuePropertyWriter"/> to implement
8+
/// <see cref="ICesiumPropertyWriter"/> for a list of lists of <see cref="Reference"/> values.
9+
/// </summary>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumReferenceListOfListsValuePropertyWriter"/> to adapt.</typeparam>
11+
[CSToJavaUseWildcardGenerics]
12+
public class CesiumReferenceListOfListsValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<IEnumerable<Reference>>>
13+
where TFrom : class, ICesiumReferenceListOfListsValuePropertyWriter
14+
{
15+
/// <summary>
16+
/// Initializes a new instance.
17+
/// </summary>
18+
/// <param name="parent">The instance to wrap.</param>
19+
/// <param name="writeValueCallback">The callback to write a list of lists of <see cref="Reference"/> values.</param>
20+
/// <param name="writeDeleteValueCallback">The callback to write an indication that the client should delete existing data.</param>
21+
public CesiumReferenceListOfListsValuePropertyAdaptor([NotNull] TFrom parent,
22+
[NotNull] CesiumWriterAdaptorWriteCallback<TFrom, IEnumerable<IEnumerable<Reference>>> writeValueCallback,
23+
[NotNull] CesiumWriterAdaptorWriteDeleteCallback<TFrom> writeDeleteValueCallback)
24+
: base(parent, writeValueCallback, writeDeleteValueCallback)
25+
{
26+
}
27+
}
28+
}

DotNet/CesiumLanguageWriter/Advanced/CesiumReferenceListValuePropertyAdaptor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace CesiumLanguageWriter.Advanced
77
/// Adapts a class that implements <see cref="ICesiumReferenceListValuePropertyWriter"/> to implement
88
/// <see cref="ICesiumPropertyWriter"/> for a list of <see cref="Reference"/> values.
99
/// </summary>
10-
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumReferenceValuePropertyWriter"/> to adapt.</typeparam>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumReferenceListValuePropertyWriter"/> to adapt.</typeparam>
1111
public class CesiumReferenceListValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<Reference>>
1212
where TFrom : class, ICesiumReferenceListValuePropertyWriter
1313
{

DotNet/CesiumLanguageWriter/Advanced/CesiumSphericalListValuePropertyAdaptor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace CesiumLanguageWriter.Advanced
77
/// Adapts a class that implements <see cref="ICesiumSphericalListValuePropertyWriter"/> to implement
88
/// <see cref="ICesiumPropertyWriter"/> for a list of <see cref="Spherical"/> values.
99
/// </summary>
10-
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumSphericalValuePropertyWriter"/> to adapt.</typeparam>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumSphericalListValuePropertyWriter"/> to adapt.</typeparam>
1111
public class CesiumSphericalListValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<Spherical>>
1212
where TFrom : class, ICesiumSphericalListValuePropertyWriter
1313
{

DotNet/CesiumLanguageWriter/Advanced/CesiumUnitSphericalListValuePropertyAdaptor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace CesiumLanguageWriter.Advanced
77
/// Adapts a class that implements <see cref="ICesiumUnitSphericalListValuePropertyWriter"/> to implement
88
/// <see cref="ICesiumInterpolatableValuePropertyWriter{TValue}"/> for a list of <see cref="UnitSpherical"/> values.
99
/// </summary>
10-
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumUnitSphericalValuePropertyWriter"/> to adapt.</typeparam>
10+
/// <typeparam name="TFrom">The class that implements <see cref="ICesiumUnitSphericalListValuePropertyWriter"/> to adapt.</typeparam>
1111
public class CesiumUnitSphericalListValuePropertyAdaptor<TFrom> : CesiumWriterAdaptor<TFrom, IEnumerable<UnitSpherical>>
1212
where TFrom : class, ICesiumUnitSphericalListValuePropertyWriter
1313
{

0 commit comments

Comments
 (0)