{
// --- now construct curve
OffsetCurveBuilder ocb = new OffsetCurveBuilder(
g.getFactory().getPrecisionModel(),
bufParams);
OffsetCurveSetBuilder ocsb = new OffsetCurveSetBuilder(g, dist, ocb);
List curves = ocsb.getCurves();
List lines = new ArrayList();
for (Iterator i = curves.iterator(); i.hasNext(); ) {
SegmentString ss = (SegmentString) i.next();
Coordinate[] pts = ss.getCoordinates();