java.lang.Object
ij.gui.Line.PointIterator
- Enclosing class:
Line
Dedicated point iterator for thin lines.
The iterator is based on (an improved version of) the algorithm used by
the original method
ImageProcessor.getLine(double, double, double, double).
Improvements are (a) that the endpoint is drawn too and (b) every line
point is visited only once, duplicates are skipped.
Author: Wilhelm Burger (04/2017)-
Constructor Summary
ConstructorsConstructorDescriptionPointIterator(double x1, double y1, double x2, double y2) PointIterator(Line line) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
PointIterator
-
PointIterator
public PointIterator(double x1, double y1, double x2, double y2)
-
-
Method Details