# Class: Dots3D

## Dots3D()

#### new Dots3D()

实现对三维坐标点的类型定义

Source:
  - Dots3D.js, line 16

### Methods

#### (async, static) append(dot3D)

添加一个点

##### Parameters:

Name | Type | Description
--- | --- | ---
`dot3D` | object:Dot3D | 待添加的点对象

Source:
  - Dots3D.js, line 56

##### Returns:

新添加点的索引，小于0失败

#### (async, static) appendDots3D(dots3D)

将另一个Dots3D的点添加到尾端

##### Parameters:

Name | Type | Description
--- | --- | ---
`dots3D` | object:Dots3D | 待添加的点序列对象

Source:
  - Dots3D.js, line 70

##### Returns:

大于0成功，否则失败

#### (async, static) clear()

清空

Source:
  - Dots3D.js, line 98

##### Returns:

大于0成功，否则失败

#### (async, static) clone()

拷贝坐标点序列

Source:
  - Dots3D.js, line 128

##### Returns:

拷贝出的坐标点序列

#### (async, static) createObj() → {Promise.<Dots3D>}

构造一个新的Dots3D对象

Source:
  - Dots3D.js, line 26

##### Returns:

Type
  Promise.<Dots3D>

#### (async, static) get(index)

返回索引处的点

##### Parameters:

Name | Type | Description
--- | --- | ---
`index` |  | 待查找的索引号

Source:
  - Dots3D.js, line 112

##### Returns:

索引处的点

#### (async, static) remove(index)

删除索引处的点

##### Parameters:

Name | Type | Description
--- | --- | ---
`index` |  | 待删除的点索引

Source:
  - Dots3D.js, line 85

##### Returns:

大于0成功，否则失败

#### (async, static) size()

返回数目

Source:
  - Dots3D.js, line 42

##### Returns:

数目