|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.eval.DefaultPlugin
cz.cuni.jagrlib.eval.Ex2006_48_a
public class Ex2006_48_a
Evaluation plugin for MainEval
: exercise 48, general polygon clipping.
MainEval
,
Ex2006_48_a.javaField Summary | |
---|---|
protected static String |
ANTI_ALIAS
Use anti-aliasing? |
protected static String |
ARR_NUMBER
|
protected static String |
ARR_RADIUS
III - arrows parameters. |
protected static String |
FAN_NUMBER
II - big fan parameters. |
protected static String |
RESOLUTION
Image resolution. |
protected static String |
SEED1
Random seed (for RandomJames). |
protected static String |
SEED2
|
protected static String |
STAR_NUMBER
I - big star parameters. |
Fields inherited from class cz.cuni.jagrlib.eval.DefaultPlugin |
---|
HTML |
Fields inherited from interface cz.cuni.jagrlib.eval.EvalPlugin |
---|
BASE, CLASS_NAME, OUTPUT_FILE_NAME |
Constructor Summary | |
---|---|
Ex2006_48_a()
|
Method Summary | |
---|---|
protected void |
makeFan(double x0,
double y0,
double r1,
double r2,
int n)
Creates fan with given number of tips. |
protected void |
makeStar(double x0,
double y0,
double r1,
double r2,
double angle0,
double exp,
int n)
Creates star with non-uniformly distributed tips. |
boolean |
runTest(Map<String,String> env,
Map<String,String> param,
PrintStream out)
Runs one instance of the test (simple variant, w/o global result storage). |
Methods inherited from class cz.cuni.jagrlib.eval.DefaultPlugin |
---|
booleanParam, createResults, doubleParam, integerParam, interpretResults, runTest, stringParam |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String ANTI_ALIAS
protected static final String SEED1
protected static final String SEED2
protected static final String RESOLUTION
protected static final String STAR_NUMBER
protected static final String FAN_NUMBER
protected static final String ARR_RADIUS
protected static final String ARR_NUMBER
Constructor Detail |
---|
public Ex2006_48_a()
Method Detail |
---|
protected void makeStar(double x0, double y0, double r1, double r2, double angle0, double exp, int n)
protected void makeFan(double x0, double y0, double r1, double r2, int n)
public boolean runTest(Map<String,String> env, Map<String,String> param, PrintStream out)
runTest
in interface EvalPlugin
runTest
in class DefaultPlugin
env
- Environment map (global params).param
- Individual params.out
- Text stream for output messages.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |