int size = jpts.size();
List ipts = new ArrayList(size * 2);
// HACK maybe should fold this loop into the loop inside
// generatePolyPts()
for (int j = 0; j < size; j++) {
CoordFloatString cfs = (CoordFloatString) jpts.get(j);
int cfscnt = cfs.tcount;
int cfssz = cfs.tsize;
float cfsvals[] = cfs.vals;
if (cfscnt > 0) { // normal
for (int i = 0; i < cfscnt; i++) {