new Cesium.PlaneOutlineGeometry()

描述几何表示以原点为中心的平面的轮廓,具有单位宽度和长度.

Members

static Cesium.PlaneOutlineGeometry.packedLength : number

用于将对象组合成数组的元素数量.

Methods

static Cesium.PlaneOutlineGeometry.createGeometry()Geometry|undefined

计算一个平面的轮廓的几何表示,包括它的顶点,指数和边框.
Returns:
计算出的顶点和指数.

static Cesium.PlaneOutlineGeometry.pack(value, array)Array.<number>

将所提供的实例存储到所提供的数组中.
Name Type Description
value PlaneOutlineGeometry 包装的价值.
array Array.<number> 装入的阵列.
Returns:
装入的阵列

static Cesium.PlaneOutlineGeometry.unpack(array, startingIndex, result)PlaneOutlineGeometry

从组合的数组中获取实例 .
Name Type Default Description
array Array.<number> 装填的阵列.
startingIndex number 0 optional The starting index of the element to be unpacked.
result PlaneOutlineGeometry optional 存储结果的对象.
Returns:
如果没有提供经过修改的结果参数或一个新的PlaneOutlineGeometry实例.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.