add support for infinite rays to geom::Line
convert geom::Polygon contains/intersects to use Line/Rectangle