rename Segment2D to LinearSegment2D
extract AbstractSegment2D and new Segment interface

  - also make Segment2D.getPred() and getSucc() just Segment2D by default