Class Path2afp.TransformedPathPathIterator<T extends PathElement2afp>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.afp.Path2afp.AbstractPathPathIterator<T>
-
- org.arakhne.afc.math.geometry.d2.afp.Path2afp.TransformedPathPathIterator<T>
-
- Type Parameters:
T
- the type of the path elements.
- All Implemented Interfaces:
Cloneable
,Iterator<T>
,PathIterator2afp<T>
,PathIterator2D<T>
- Enclosing interface:
- Path2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Path2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
public static class Path2afp.TransformedPathPathIterator<T extends PathElement2afp> extends Path2afp.AbstractPathPathIterator<T>
A path iterator that transforms the coordinates.- 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 TransformedPathPathIterator(Path2afp<?,?,T,?,?,?> path, Transform2D transform)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
PathIterator2afp<T>
restartIterations()
Replies a reset instance of this iterator.-
Methods inherited from class org.arakhne.afc.math.geometry.d2.afp.Path2afp.AbstractPathPathIterator
getGeomFactory, getPath, getWindingRule, isCurved, isMultiParts, isPolygon, isPolyline, 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
-
TransformedPathPathIterator
public TransformedPathPathIterator(Path2afp<?,?,T,?,?,?> path, Transform2D transform)
Constructor.- Parameters:
path
- the path to iterate on.transform
- the transformation to apply on the path.
-
-
Method Detail
-
restartIterations
public PathIterator2afp<T> restartIterations()
Description copied from interface:PathIterator2D
Replies a reset instance of this iterator.The reset instance enables to restart iterations with the replied iterator.
- Returns:
- the reset iterator.
-
hasNext
@Pure public boolean hasNext()
-
next
public T next()
-
-