1. A concise explanation of the problem you're experiencing.
I have class Pipe. I want to make another class concrete embedded.
That new class should be like (see code bellow) but with some circle inside (empty space along entity).
I don't know how to put circle in shape.
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
//from sandcastle
var viewer = new Cesium.Viewer('cesiumContainer');
var greenBox = viewer.entities.add({
name : 'Green box with beveled corners and outline',
polylineVolume : {
positions : Cesium.Cartesian3.fromDegreesArrayHeights([-90.0, 32.0, 0.0,
-90.0, 36.0, 100000.0,
-94.0, 36.0, 0.0]),
shape :[new Cesium.Cartesian2(-50000, -50000),
new Cesium.Cartesian2(50000, -50000),
new Cesium.Cartesian2(50000, 50000),
new Cesium.Cartesian2(-50000, 50000)],
cornerType : Cesium.CornerType.BEVELED,
material : Cesium.Color.GREEN.withAlpha(0.5),
outline : true,
outlineColor : Cesium.Color.BLACK
}
});
viewer.zoomTo(viewer.entities);
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
To look like pipe is embedded in concrete.
4. The Cesium version you're using, your operating system and browser.
last Chrome, and Cesium 1.46, win 10