Constructs a compound curve from a list of constituent curves. The start point of each curve after the first must be coincident
with the end point of the previous curve. All of the supplied curves must have the same SRID. The compound curve is constructed
with this common SRID. All of the supplied curves must be non-empty and have the same answer for Is3D and IsMeasured. The
compound curve is 3D if all of the points are 3D, and the compound curve is measured if all of the points are measured.