Handle intersection between linear curves without recursive subdivision.

Closes #207.
Rearrange linear curve conditions.