走廊大纲说明.
| Name | Type | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
下列属性的对象 :
|
Example:
const corridor = new Cesium.CorridorOutlineGeometry({
positions : Cesium.Cartesian3.fromDegreesArray([-72.0, 40.0, -70.0, 35.0]),
width : 100000
});
See:
Members
Methods
static Cesium.CorridorOutlineGeometry.createGeometry(corridorOutlineGeometry) → Geometry|undefined
计算一个走廊的几何代表,包括其顶点、指数和边框.
| Name | Type | Description |
|---|---|---|
corridorOutlineGeometry |
CorridorOutlineGeometry | 走廊简介. |
Returns:
计算出的顶点和指数.
将所提供的实例存储到所提供的数组中.
| Name | Type | Default | Description |
|---|---|---|---|
value |
CorridorOutlineGeometry | 包装的价值. | |
array |
Array.<number> | 装入的阵列. | |
startingIndex |
number |
0
|
optional The index into the array at which to start packing the elements. |
Returns:
装入的阵列
static Cesium.CorridorOutlineGeometry.unpack(array, startingIndex, result) → CorridorOutlineGeometry
从组合的数组中获取实例 .
| Name | Type | Default | Description |
|---|---|---|---|
array |
Array.<number> | 装填的阵列. | |
startingIndex |
number |
0
|
optional The starting index of the element to be unpacked. |
result |
CorridorOutlineGeometry | optional 存储结果的对象. |
Returns:
如果不提供经修改的结果参数或一个新的走廊外观测量实例.