|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.reprap.geometry.polygons.BooleanGrid.DDA
class BooleanGrid.DDA
Straight-line DDA
Field Summary | |
---|---|
private BooleanGrid.iPoint |
count
|
private BooleanGrid.iPoint |
delta
|
private boolean |
finished
|
private BooleanGrid.iPoint |
p
|
private int |
steps
|
private int |
taken
|
private boolean |
xPlus
|
private boolean |
yPlus
|
Constructor Summary | |
---|---|
BooleanGrid.DDA(BooleanGrid.iPoint s,
BooleanGrid.iPoint e)
Set up the DDA between a start and an end point |
Method Summary | |
---|---|
(package private) BooleanGrid.iPoint |
next()
Return the next point along the line, or null if the last point returned was the final one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private BooleanGrid.iPoint delta
private BooleanGrid.iPoint count
private BooleanGrid.iPoint p
private int steps
private int taken
private boolean xPlus
private boolean yPlus
private boolean finished
Constructor Detail |
---|
BooleanGrid.DDA(BooleanGrid.iPoint s, BooleanGrid.iPoint e)
s
- e
- Method Detail |
---|
BooleanGrid.iPoint next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |