rename SegmentIterator to SegmentChainsIterator
add RectangleWithHoles.toSegmentChains()