Class

PolylineVolumeEntity

PolylineVolumeEntity(positions, shape)

Constructor

# new PolylineVolumeEntity(positions, shape)

PolylineVolume - 三维不规则曲面图形

Parameters:
Name Type Description
positions Array.<Position>

任意类型的坐标数组

shape Array.<Cesium.Cartesian2>

拉伸面的坐标

Author:
  • xyj

Extends

Members

# positions

Array.<Position>

# readonly positions

图形坐标

# shape

Array.<Cesium.Cartesian2>

# readonly shape

拉伸面

string

# readonly type

类型

Methods

# addTo(layer) → {Graphic}

将实体加入图层

Parameters:
Name Type Description
layer Layer

图层

Overrides:
See:

this - 当前实体对象

Graphic

# setStyle() → {CorridorEntity}

设置样式

  • 返回自己,链式调用

# static fromEntity(entity) → {PolygonEntity}

从实体对象转化为自定义对象

Parameters:
Name Type Description
entity Object

其他对象实体

  • 自定义实体