Improve the SegmentFactory
Current SegmentFactory only helps for trhe creation of LinearSegment. It should ease the creation of every types of Segments.
Current SegmentFactory only helps for trhe creation of LinearSegment. It should ease the creation of every types of Segments.