public class Iconizer
extends java.lang.Object
Constructor and Description |
---|
Iconizer() |
Modifier and Type | Method and 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) |
public static void main(java.lang.String[] argv)
public static java.awt.image.BufferedImage filledPolygonImage(double[] xp, double[] yp, int dim, java.awt.Color col, double osx, double osy, double elf)
public 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)
private static double[] rerange(double[] ap0)
private static boolean pointIsInside(double x, double y, double[] xb, double[] yb)
private static double[][] readPerimiter(java.lang.String s)
public static java.lang.String readStringFromFile(java.io.File f)
Copyright © 2013. All Rights Reserved.