I have defined two entities with an ellipse at the same point to represent a drilling place.
One part (green) starts at the height of 53.16 m above ground and dips 50 m into the depth up 3.16 m. At this point (yellow) the second part of this drilling starts and dips 136,68 m into the depth up to -139.84 m.
I think each ellipse is placed at their correct height. But if i want to fill the space between part 1 and part 2 with the color of part 1 (green), which value needs to be set for extrudedHeight?
let drilling_1_2 = viewer.entities.add({
id: '125',
name: 'Bohrung_1_0',
position: Cartesian3.fromDegrees(13.2252164300779, 52.5031361781643),
ellipse: {
semiMinorAxis: 10,
semiMajorAxis: 10,
material: Color.YELLOW,
height: 3.16,
// extrudedHeight: 136.68
}
});
let drilling_1_3 = viewer.entities.add({
id: '126',
name: 'Bohrung_1_0',
position: Cartesian3.fromDegrees(13.2252164300779, 52.5031361781643),
ellipse: {
semiMinorAxis: 10,
semiMajorAxis: 10,
material: Color.GREEN,
height: 53.16,
extrudedHeight: -50
}
});
I thought -50, but this value simply covers the start of part 2 (yellow). How do i specify the correct extrudedHeight to get this entity going 50 meters deep from 53.16 m to 3.16 m above the ground?
![Bildschirmfoto vom 2020-02-28 15-58-57.png](https://groups.google.com/group/cesium-dev/attach/109633009f593/Bildschirmfoto%20vom%202020-02-28%2015-58-57.png?part=0.1&view=1)
![Bildschirmfoto vom 2020-02-28 16-00-04.png](https://groups.google.com/group/cesium-dev/attach/109633009f593/Bildschirmfoto%20vom%202020-02-28%2016-00-04.png?part=0.2&view=1)