Class Iconizer


  • public final class Iconizer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Iconizer()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double[][] alphaPixelize​(double[] xp0, double[] yp0, int dim, double osx, double osy, double elf)  
      private static double coverage​(double[] xp, double[] yp, double xc0, double yc0, double dx0, double dy0, int nsamp)  
      static java.awt.image.BufferedImage filledPolygonImage​(double[] xp, double[] yp, int dim, java.awt.Color col, double osx, double osy, double elf)  
      static void main​(java.lang.String[] argv)  
      private static boolean pointIsInside​(double x, double y, double[] xb, double[] yb)  
      private static double[][] readPerimiter​(java.lang.String s)  
      static java.lang.String readStringFromFile​(java.io.File f)  
      private static double[] rerange​(double[] ap0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Iconizer

        private Iconizer()
    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • filledPolygonImage

        public static java.awt.image.BufferedImage filledPolygonImage​(double[] xp,
                                                                      double[] yp,
                                                                      int dim,
                                                                      java.awt.Color col,
                                                                      double osx,
                                                                      double osy,
                                                                      double elf)
      • alphaPixelize

        public static double[][] alphaPixelize​(double[] xp0,
                                               double[] yp0,
                                               int dim,
                                               double osx,
                                               double osy,
                                               double elf)
      • coverage

        private static double coverage​(double[] xp,
                                       double[] yp,
                                       double xc0,
                                       double yc0,
                                       double dx0,
                                       double dy0,
                                       int nsamp)
      • rerange

        private static double[] rerange​(double[] ap0)
      • pointIsInside

        private static boolean pointIsInside​(double x,
                                             double y,
                                             double[] xb,
                                             double[] yb)
      • readPerimiter

        private static double[][] readPerimiter​(java.lang.String s)
      • readStringFromFile

        public static java.lang.String readStringFromFile​(java.io.File f)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException