Class: QueryBound

QueryBound()

new QueryBound()

Source:

Methods

(async, static) createObjByPoint(point) → {Promise.<QueryBound>}

构造一个新的 QueryBound 对象。
Parameters:
Name Type Description
point Dot
Source:
Returns:
Type
Promise.<QueryBound>

(async, static) createObjByPointAndOff(point, dx, dy) → {Promise.<QueryBound>}

构造一个新的 QueryBound 对象。
Parameters:
Name Type Description
point Dot
dx X方向最大范围偏移量
dy Y方向最大范围偏移量
Source:
Returns:
Type
Promise.<QueryBound>

(async, static) createObjByPoints(points) → {Promise.<QueryBound>}

构造一个新的 QueryBound 对象。
Parameters:
Name Type Description
points Array.<Dot> 多点
Source:
Returns:
Type
Promise.<QueryBound>

(async, static) createObjByRect(rect) → {Promise.<QueryBound>}

构造一个新的 QueryBound 对象。
Parameters:
Name Type Description
rect Rect 矩形范围
Source:
Returns:
Type
Promise.<QueryBound>

(async, static) getBoundPoints() → {Promise.<Array.<Dot>>}

获取查询范围外包点序列
Source:
Returns:
外包点序列
Type
Promise.<Array.<Dot>>

(async, static) getBoundType() → {Number}

获取查询范围类型
Source:
Returns:
查询范围类型(int类型的Number)
Type
Number

(async, static) getDotOffDx() → {Number}

获取X方向最大范围偏移量
Source:
Returns:
X方向最大范围偏移量 (double类型的Number)
Type
Number

(async, static) getDotOffDy() → {Number}

获取Y方向最大范围偏移量
Source:
Returns:
Y方向最大范围偏移量 (double类型的Number)
Type
Number