public static void lineStringOffSetCurve ( ArrayList < LineString > list , LineString lineString , double offset , BufferParameters bufferParameters ) { list . add ( lineString . getFactory ( ) . createLineString ( new OffsetCurveBuilder ( lineString . getPrecisionModel ( ) , bufferParameters ) . getOffsetCurve ( lineString . getCoordinates ( ) , offset ) ) ) ; }
Compute the offset curve for a linestring