|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.jagrlib.piece.FaceRenderFlat.PolyEdge
protected static class FaceRenderFlat.PolyEdge
Polygon edge.
| Field Summary | |
|---|---|
int |
count
Number of hlines to draw. |
double |
dx
X difference between two adjacent hlines. |
double |
x
X-coordinate of the edge-hline intersection. |
int |
y0
Starting Y-coordinate. |
| Constructor Summary | |
|---|---|
FaceRenderFlat.PolyEdge(double[] p1,
double[] p2)
|
|
| Method Summary | |
|---|---|
int |
compareTo(FaceRenderFlat.PolyEdge o)
Natural ordering: [ y0, x ]. |
void |
next()
Prepare the edge record for the next line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int y0
public double x
public double dx
public int count
| Constructor Detail |
|---|
public FaceRenderFlat.PolyEdge(double[] p1,
double[] p2)
| Method Detail |
|---|
public void next()
public int compareTo(FaceRenderFlat.PolyEdge o)
compareTo in interface java.lang.Comparable<FaceRenderFlat.PolyEdge>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||