intersectLines

fun intersectLines(l1: Line, l2: Line): List<Vec2>

Returns array...

  • of zero points, if there is no intersection;

  • of one point, if there's one intersection;

  • of two points (segment), if it is continuous intersection;