@Override
public void preFuseIter() {
affineTA = new XYZPoint[3]; // affine part of the transformation
for (int i = 0; i < affineTA.length; i++) {
affineTA[i] = new XYZPoint();
}
varTA = new XYZPoint[3]; // complete transformation
for (int i = 0; i < varTA.length; i++) {
varTA[i] = new XYZPoint();
}
pA = new XYZPoint[3];
for (int i = 0; i < pA.length; i++) {
pA[i] = new XYZPoint();
}
q = new XYZPoint();
pA[0].x = 2.0 * randGen.random() - 1.0;
pA[0].y = 2.0 * randGen.random() - 1.0;
pA[0].z = 0;
pA[0].color = randGen.random();
distributeInitialPoints(pA);
qA = new XYZPoint[3];
for (int i = 0; i < qA.length; i++) {
qA[i] = new XYZPoint();
}
xf = layer.getXForms().get(0);
transformPoint();
for (int i = 0; i <= Constants.INITIAL_ITERATIONS; i++) {