434445464748495051
CPoint p1 = new Coordinate2D(-5, -5); CPoint p2 = new Coordinate2D(-10, -10); LineSegment lseg = new LineSegment(p1, p2); LineBuffer lb = new LineBuffer(); geoms.add(lb.singleLineNoCapBuffer(lseg, 5)); geoms.add(lseg.toLineString()); } }