geoms.add(pb.createBuffer(p.getCoordinate(), 5));
geoms.add(p);
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());
}