LineIntersect.d.ts 295 B

12345678910111213
  1. /**
  2. * Returns the intersection between two line segments a and b.
  3. *
  4. * @param l1s
  5. * @param l1e
  6. * @param l2s
  7. * @param l2e
  8. *
  9. * @return
  10. */
  11. export default function lineIntersect(l1s: Point, l1e: Point, l2s: Point, l2e: Point): Point;
  12. type Point = import('diagram-js/lib/util/Types').Point;