椭圆形上圆形轮廓的描述.
| Name | Type | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
下列属性的对象 :
|
Throws:
-
DeveloperError : radius must be greater than zero.
-
DeveloperError : granularity must be greater than zero.
Example:
// Create a circle.
const circle = new Cesium.CircleOutlineGeometry({
center : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883),
radius : 100000.0
});
const geometry = Cesium.CircleOutlineGeometry.createGeometry(circle);
See:
Members
Methods
static Cesium.CircleOutlineGeometry.createGeometry(circleGeometry) → Geometry|undefined
计算椭圆上一个圆的轮廓的几何表示,包括它的顶点,指数,以及边框.
| Name | Type | Description |
|---|---|---|
circleGeometry |
CircleOutlineGeometry | 圆圆的描述. |
Returns:
计算出的顶点和指数.
将所提供的实例存储到所提供的数组中.
| Name | Type | Default | Description |
|---|---|---|---|
value |
CircleOutlineGeometry | 包装的价值. | |
array |
Array.<number> | 装入的阵列. | |
startingIndex |
number |
0
|
optional The index into the array at which to start packing the elements. |
Returns:
装入的阵列
static Cesium.CircleOutlineGeometry.unpack(array, startingIndex, result) → CircleOutlineGeometry
从组合的数组中获取实例 .
| Name | Type | Default | Description |
|---|---|---|---|
array |
Array.<number> | 装填的阵列. | |
startingIndex |
number |
0
|
optional The starting index of the element to be unpacked. |
result |
CircleOutlineGeometry | optional 存储结果的对象. |
Returns:
如果不提供修改的结果参数或新的圆外线图形实例.