for each point p0 in vec0 for point in p1 in vec1 translate vec1 by (p1 - p0) intersect and count