Note that the SegmentMesh is lazily calculated (this method is not threadsafe unless it is known that the SegmentMesh is already up to date) The connectivity of this mesh represented as a collection of unique segments.