UNPKG
xiaohejs
Version:
latest (0.1.10)
0.1.10
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.0.10
0.0.9
0.0.7
0.0.6
0.0.5
0.0.4
0.0.2
0.0.1
🎈 小何同学的JavaScript工具箱
xiaohejs.myhdg.top
xiaohe0601/xiaohejs
xiaohejs
/
lib
/
esm
/
geometry
/
center.d.ts
11 lines
(10 loc)
•
334 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
LngLatArray
,
LngLatLike
}
from
"./types.js"
;
/** * 获取平面多边形中心点坐标 * *
@since
0.0.5 *
@param
points 平面多边形范围坐标点集合 *
@returns
{
LngLatArray
} 平面多边形中心点坐标 */
declare
function
planeCenter
(
points: LngLatLike[]
):
LngLatArray
;
export
{ planeCenter };