new Cesium.PolygonHierarchy(positions, holes)

定义多边形及其孔的线性环的层次. 洞本身可能也有一些洞,它们将内多边形筑巢.
Name Type Description
positions Array.<Cartesian3> optional 一个线性环来定义多边形或孔的外部边界.
holes Array.<PolygonHierarchy> optional 定义多边形中孔的一组多边形等级.

Members

holes : Array.<PolygonHierarchy>

定义多边形中孔的一组多边形等级.

positions : Array.<Cartesian3>

一个线性环来定义多边形或孔的外部边界.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.