You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

6 lines
304 B

import type { Point } from '../../types';
/**
* 求两个线段的交点坐标
* 参考:https://leetcode-cn.com/problems/intersection-lcci/solution/jiao-dian-by-leetcode-solution/
*/
export declare function intersection([x1, y1]: Point, [x2, y2]: Point, [x3, y3]: Point, [x4, y4]: Point): number[];