UNPKG

315 BTypeScriptView Raw
1export default intersectLine;
2/**
3 * Returns the point at which two lines, p and q, intersect or returns undefined if they do not intersect.
4 *
5 * @param p1
6 * @param p2
7 * @param q1
8 * @param q2
9 */
10declare function intersectLine(p1: any, p2: any, q1: any, q2: any): {
11 x: number;
12 y: number;
13} | undefined;