# Class: GeoAnno

## GeoAnno()

#### new GeoAnno()

Source:
  - GeoAnno.js, line 12

### Methods

#### (async, static) calRect() → {Promise.<Rect>}

计算几何注记的外包围盒

Source:
  - GeoAnno.js, line 59

##### Returns:

包围盒信息

Type
  Promise.<Rect>

#### (async, static) clone(geometry) → {Promise}

拷贝几何信息

##### Parameters:

Name | Type | Description
--- | --- | ---
`geometry` |  | 被拷贝的几何对象

Source:
  - GeoAnno.js, line 33

##### Returns:

成功克隆返回1，失败返回0

Type
  Promise

#### (async, static) empty() → {Promise}

清空几何数据

Source:
  - GeoAnno.js, line 46

##### Returns:

清空数据成功返回1，失败返回0

Type
  Promise

#### (async, static) getAnchorDot() → {Promise.<Dot>}

获取定位点

Source:
  - GeoAnno.js, line 162

##### Returns:

定位点

Type
  Promise.<Dot>

#### (async, static) getDimension() → {Promise}

取注记维数

Source:
  - GeoAnno.js, line 103

##### Returns:

注记维数

Type
  Promise

#### (async, static) isInRect(rect) → {Promise}

是否在矩形内

##### Parameters:

Name | Type | Description
--- | --- | ---
`rect` |  | 待比较的包围盒对象

Source:
  - GeoAnno.js, line 76

##### Returns:

在包围盒内返回1，不在返回0

Type
  Promise

#### (async, static) isInterRect(rect) → {Promise}

是否和矩形相交

##### Parameters:

Name | Type | Description
--- | --- | ---
`rect` |  | 待比较的包围盒对象

Source:
  - GeoAnno.js, line 90

##### Returns:

和包围盒相交返回1，不相交返回0

Type
  Promise

#### (async, static) setAnchorDot(dot) → {Promise.<void>}

设置定位点

##### Parameters:

Name | Type | Description
--- | --- | ---
`dot` |  | 定位点坐标

Source:
  - GeoAnno.js, line 179

##### Returns:

Type
  Promise.<void>

#### (async, static) transSRS(ptOrigSRef, ptDestSRef) → {Promise.<Geometry>}

投影变换

##### Parameters:

Name | Type | Description
--- | --- | ---
`ptOrigSRef` |  | 原始投影系
`ptDestSRef` |  | 目标投影系

Source:
  - GeoAnno.js, line 118

##### Returns:

投影后的几何对象

Type
  Promise.<Geometry>

#### (async, static) transSRSOfParam(ptOrigSRef, ptDestSRef, param) → {Promise.<Geometry>}

投影变换

##### Parameters:

Name | Type | Description
--- | --- | ---
`ptOrigSRef` |  | 原始投影系
`ptDestSRef` |  | 目标投影系
`param` |  | 椭球坐标系变换参数

Source:
  - GeoAnno.js, line 141

##### Returns:

投影后的几何对象

Type
  Promise.<Geometry>