|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--FlatRenderer.ActiveEdgeTable
The current edge table for the scan line.
| Field Summary | |
protected List |
edges
The edges in the AET, instances of EdgeEntry. |
protected static Comparator |
xIntersectCmp
Comparator to sort EdgeEntries by the x intersection value. |
| Constructor Summary | |
FlatRenderer.ActiveEdgeTable()
Creates an empty AET. |
|
| Method Summary | |
void |
add(List newEdges)
Adds edges into the AET. |
Iterator |
iterator()
Returns an iterator to the edges. |
void |
nextX()
Calculates the next x intersection values for each nonvertical edges. |
void |
removeYMax(int y)
Removes the AET entries which ymax == y. |
int |
size()
Returns the number of edges in the AET. |
void |
sort()
Sorts the AET entries by the x intersection values of each entry. |
String |
toString()
Creates a human-readable String that displays the contents of this object, for debugging purposes. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected static final Comparator xIntersectCmp
sort()protected List edges
| Constructor Detail |
public FlatRenderer.ActiveEdgeTable()
| Method Detail |
public void add(List newEdges)
newEdges - the edges to add, instances of EdgeEntrypublic void sort()
public String toString()
public void removeYMax(int y)
y - the ymax values of the entries to remove.public void nextX()
public int size()
public Iterator iterator()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||