public Point3D unTransform(Point3D p) { try { javafx.geometry.Point3D ta = a.inverseTransform(p.x, p.y, p.z); return new Point3D((float) ta.getX(), (float) ta.getY(), (float) ta.getZ()); } catch (NonInvertibleTransformException ex) { System.out.println("p not invertible " + p); } return p; }
private Point3D transform(double x, double y, double z) { javafx.geometry.Point3D ta = a.transform(x, y, z); return new Point3D((float) ta.getX(), (float) ta.getY(), (float) ta.getZ()); }
private Point3D transform(Point3D p) { javafx.geometry.Point3D ta = a.transform(p.x, p.y, p.z); return new Point3D((float) ta.getX(), (float) ta.getY(), (float) ta.getZ()); }