Compute intersection with Cube