UNPKG

@glowjs/core

Version:

GlowJS数字孪生引擎核心库。

10 lines (9 loc) 288 B
import { Line } from '../Line'; import { Point } from '../Point'; /** * 获取2条直线的交点(若不相交则返回null) * @param line1 直线1 * @param line2 直线2 * @returns 交点 */ export declare function getLineIntersection(line1: Line, line2: Line): Point;