Skip to content

@miyue-mma/shared / calculateMidpoint

函数: calculateMidpoint()

ts
function calculateMidpoint(point1, point2): IPoint

计算两点之间的中点

参数

point1

IPoint

point2

IPoint

返回

IPoint

Released under the MIT License.