Renamed Line2D to Segment2D; wrote unit tests for it; debugging at PlanarGraphEdgesSelfIntersection.