ht.cesium.Points(options)

new Points(options)

创建点云实例

Parameters:
Name Type Description
options PointsOptions4Type

初始化参数

Members

map :ht.cesium.Map

获取地图实例对象

property :PointsOptions4Type

获取数据属性

uuid :string

获取唯一标识

Methods

a(name, value) → {any}

getAttr 和 setAttr 的简写

Parameters:
Name Type Attributes Description
name any <optional>
value any <optional>
Returns:
any

addToMap(map, callback) → {void}

将数据叠加到地图上

Parameters:
Name Type Attributes Description
map ht.cesium.Map

数据所在的地图(map)实体对象

callback function <optional>

回调函数

Returns:
void

getAttr(name) → {any}

获取样式属性值

Parameters:
Name Type Description
name string

属性名

Returns:
any

getClassName() → {string}

获取类名

Returns:
string

getCoordinatePoints() → {any}

获取点云的所有点位(经纬度)

Returns:
any

getPoints() → {ht.List}

获取点云的所有点

Returns:
ht.List

getSize() → {number}

获取点云点的大小

Returns:
number

getStyle(name) → {any}

获取样式属性值

Parameters:
Name Type Description
name string

样式名

Returns:
any

getStyleMap() → {any}

获取样式属性

Returns:
any

getTag() → {string}

获取标签值

Returns:
string

remove() → {void}

移除数据

Returns:
void

s(name, value) → {any}

getStyle 和 setStyle 的简写

Parameters:
Name Type Attributes Description
name any <optional>
value any <optional>
Returns:
any

setAttr(name, value) → {void}

设置样式属性值

Parameters:
Name Type Description
name string

属性名

value any

属性值

Returns:
void

setCoordinatePoints(points) → {void}

设置点云点位(经纬度)

Parameters:
Name Type Description
points Array.<number>
Returns:
void

setPoints(points) → {void}

设置点云点位

Parameters:
Name Type Description
points Array.<number>
Returns:
void

setSize(size) → {void}

设置点云点的大小

Parameters:
Name Type Description
size number

尺寸大小

Returns:
void

setStyle(name, value) → {void}

设置样式属性值

Parameters:
Name Type Description
name string

样式名

value any

样式值

Returns:
void

setStyleMap(style) → {void}

设置样式属性

Parameters:
Name Type Description
style any

样式属性表

Returns:
void

setTag(tag) → {void}

设置标签值

Parameters:
Name Type Description
tag string

标签名

Returns:
void