Class: GeoLine

GeoLine()

new GeoLine()

Source:

Methods

(async, static) calLength() → {Promise}

获取线段长度
Source:
Returns:
长度值
Type
Promise

(async, static) calLengthOfSRef(ptSRef) → {Promise}

计算线实地或者平面长度
Parameters:
Name Type Description
ptSRef 投影参数
Source:
Returns:
平面长度
Type
Promise

(async, static) disperseToDots(dStep) → {Promise}

离散化解析线为折线点
Parameters:
Name Type Description
dStep 步长
Source:
Returns:
成功返回1,失败返回0
Type
Promise

(async, static) get2Dots() → {Promise.<Dots>}

获取线中的二维点序列
Source:
Returns:
获取的二维点序列
Type
Promise.<Dots>

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

获取线中的三维点序列
Source:
Returns:
获取的三维点序列
Type
Promise.<Dots3D>