我是用这个方法创建的圆柱体
let ellipseEntity = entities.add({
position : center,
orientation:Cesium.Transforms.headingPitchRollQuaternion(center, new Cesium.HeadingPitchRoll(h+1.5707963267948966,-(p+1.5707963267948966),0)),
cylinder : {
length:d,
topRadius:that.zj,
bottomRadius:that.zj,
material : color,
fill : true,
outline : false,
outlineColor : Cesium.Color.BLACK,
outlineWidth : 1
}
});