Martin, I've found this in geom/util/PointExtracter.java:
public static List getPoints(Geometry geom)
{
List pts = new ArrayList();
geom.apply(new PointExtracter(pts));
return pts;
}
The same has been ported to GEOS.
Shouldn't the function do something with the given argument ??
--strk;