import java.util.ArrayList; import javax.vecmath.Point3d; import org.apache.commons.math3.linear.*; import org.apache.commons.math3.util.FastMath; public class tuval1{ public static void main(String[] args) { System.setProperty("sun.awt.noerasebackground", "true"); new tuval7(); } public ArrayList matrixToPointList(RealMatrix mat) { ArrayList pointList = new ArrayList<>(); double x,y,z; for (int i=0; i