for (int s = 0; s < seqs.length; s++)
{
csv.append("\"" + seqs[s].getName() + "\"");
- Point p = points.get(s).coord;
- csv.append(",").append(p.x);
- csv.append(",").append(p.y);
- csv.append(",").append(p.z);
+ if (!transformed)
+ {
+ double[] fl = pasimap.component(s);
+ for (int d = fl.length - 1; d >= 0; d--)
+ {
+ csv.append(",");
+ csv.append(fl[d]);
+ }
+ } else {
+ Point p = points.get(s).coord;
+ csv.append(",").append(p.x);
+ csv.append(",").append(p.y);
+ csv.append(",").append(p.z);
+ }
csv.append("\n");
}
return csv.toString();