Class Plot3DFX

  • All Implemented Interfaces:
    Plot

    public class Plot3DFX
    extends Object
    implements Plot
    Small convenient wrapper for JZY3D derived from the JZY3D SurfaceDemo.
    Author:
    Christian Fries
    • Constructor Detail

      • Plot3DFX

        public Plot3DFX​(double xmin,
                        double xmax,
                        double ymin,
                        double ymax,
                        int numberOfPointsX,
                        int numberOfPointsY,
                        Named<DoubleBinaryOperator> function)
      • Plot3DFX

        public Plot3DFX​(double xmin,
                        double xmax,
                        double ymin,
                        double ymax,
                        int numberOfPointsX,
                        int numberOfPointsY,
                        DoubleBinaryOperator function)
    • Method Detail

      • show

        public void show()
        Specified by:
        show in interface Plot
      • close

        public void close()
        Specified by:
        close in interface Plot
      • createImage

        public javafx.scene.image.Image createImage​(double size,
                                                    float[][] noise)
      • makeZoomable

        public void makeZoomable​(javafx.scene.layout.StackPane control)
      • normalizeValue

        public static double normalizeValue​(double value,
                                            double min,
                                            double max,
                                            double newMin,
                                            double newMax)
      • clamp

        public static double clamp​(double value,
                                   double min,
                                   double max)
      • saveAsPDF

        public Plot saveAsPDF​(File file,
                              int width,
                              int height)
        Specified by:
        saveAsPDF in interface Plot
      • saveAsSVG

        public Plot saveAsSVG​(File file,
                              int width,
                              int height)
        Specified by:
        saveAsSVG in interface Plot