public static CircularString readCircularString ( ByteReader reader , boolean hasZ , boolean hasM ) { CircularString circularString = new CircularString ( hasZ , hasM ) ; int numPoints = reader . readInt ( ) ; for ( int i = 0 ; i < numPoints ; i ++ ) { Point point = readPoint ( reader , hasZ , hasM ) ; circularString . addPoint ( point ) ; } return circularString ; }
Read a Circular String