export function intersectLine( p1: any, p2: any, q1: any, q2: any ): { x: number; y: number; };