Class

PlaneEntity

PlaneEntity(position, width, height, plane)

Constructor

# new PlaneEntity(position, width, height, plane)

自定义平面

Parameters:
Name Type Attributes Description
position Position

任意类型的坐标

width number

宽度

height number

高度

plane object

平面参数

normal Cesium.Cartesian3 <optional>

normal - 平面法向量

distance number <optional>

distance - 平面和原点的距离

Author:
  • xyj

Extends

Members

# distance

number

# readonly distance

距离

# height

number

# readonly height

高度

Position

# readonly position

图形坐标

# position

# type

设置样式

# width

number

# readonly width

宽度

Methods

# addTo(layer) → {Graphic}

将实体加入图层

Parameters:
Name Type Description
layer Layer

图层

Overrides:
See:

this - 当前实体对象

Graphic

# setStyle() → {CorridorEntity}

设置样式

  • 返回自己,链式调用