Class Path2ai.PixelIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.ai.Path2ai.PixelIterator<P,V>
-
- Type Parameters:
P
- the type of the points.V
- the type of the vectors.
- All Implemented Interfaces:
Iterator<P>
- Enclosing interface:
- Path2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends Path2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
public static class Path2ai.PixelIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>> extends Object implements Iterator<P>
Iterator on the pixels of the path.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Constructor Summary
Constructors Constructor Description PixelIterator(PathIterator2ai<?> pi, GeomFactory2ai<?,P,V,?> factory)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
P
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
PixelIterator
public PixelIterator(PathIterator2ai<?> pi, GeomFactory2ai<?,P,V,?> factory)
Constructor.- Parameters:
pi
- the iterator.factory
- the element factory.
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public P next()
-
-