Tidying up Line#containsPoint(point)