Switch back to double instead of int because of broken intersection with integer coordinates as of Boost 1.52-1.53