summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/dagre-wrapper/intersect/intersect-line.d.ts
blob: 5b0a1d04749a0f8cde5ee653d2948fa2cbf11c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export default intersectLine;
/**
 * Returns the point at which two lines, p and q, intersect or returns undefined if they do not intersect.
 *
 * @param p1
 * @param p2
 * @param q1
 * @param q2
 */
declare function intersectLine(p1: any, p2: any, q1: any, q2: any): {
    x: number;
    y: number;
} | undefined;