Implement intersection line/line and line/circle