D.TrailLike: add fromLocatedSegments function
D.Trail: add wrapOpenTrail and wrapClosedTrail