public static CompoundCurve readCompoundCurve(ByteReader reader,
			boolean hasZ, boolean hasM) {
    """
	Read a Compound Curve
	
	@param reader
	@param hasZ
	@param hasM
	@return compound curve
    """

		CompoundCurve compoundCurve = new CompoundCurve(hasZ, hasM);

		int numLineStrings = reader.readInt();

		for (int i = 0; i < numLineStrings; i++) {
			LineString lineString = readGeometry(reader, LineString.class);
			compoundCurve.addLineString(lineString);

		}

		return compoundCurve;
	}
public static CompoundCurve readCompoundCurve(ByteReader reader,
			boolean hasZ, boolean hasM) {

		CompoundCurve compoundCurve = new CompoundCurve(hasZ, hasM);

		int numLineStrings = reader.readInt();

		for (int i = 0; i < numLineStrings; i++) {
			LineString lineString = readGeometry(reader, LineString.class);
			compoundCurve.addLineString(lineString);

		}

		return compoundCurve;
	}
public static CompoundCurve readCompoundCurve ( ByteReader reader , boolean hasZ , boolean hasM ) { CompoundCurve compoundCurve = new CompoundCurve ( hasZ , hasM ) ; int numLineStrings = reader . readInt ( ) ; for ( int i = 0 ; i < numLineStrings ; i ++ ) { LineString lineString = readGeometry ( reader , LineString . class ) ; compoundCurve . addLineString ( lineString ) ; } return compoundCurve ; }
Read a Compound Curve

@param reader
@param hasZ
@param hasM
@return compound curve
Read a Compound Curve