Class Parallelogram2afp.TransformedParallelogramPathIterator<T extends PathElement2afp>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.afp.Parallelogram2afp.AbstractParallelogramPathIterator<T>
-
- org.arakhne.afc.math.geometry.d2.afp.Parallelogram2afp.TransformedParallelogramPathIterator<T>
-
- Type Parameters:
T
- the type of the path elements.
- All Implemented Interfaces:
Cloneable
,Iterator<T>
,PathIterator2afp<T>
,PathIterator2D<T>
- Enclosing interface:
- Parallelogram2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Parallelogram2afp<?,?,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 Parallelogram2afp.TransformedParallelogramPathIterator<T extends PathElement2afp> extends Parallelogram2afp.AbstractParallelogramPathIterator<T>
Iterator on the path elements of a transformed oriented rectangle.- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Maxime Grolleau, Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Field Summary
-
Fields inherited from class org.arakhne.afc.math.geometry.d2.afp.Parallelogram2afp.AbstractParallelogramPathIterator
ELEMENT_NUMBER, parallelogram
-
-
Constructor Summary
Constructors Constructor Description TransformedParallelogramPathIterator(Parallelogram2afp<?,?,T,?,?,?> parallelogram, 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.Parallelogram2afp.AbstractParallelogramPathIterator
getGeomFactory, 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
-
TransformedParallelogramPathIterator
public TransformedParallelogramPathIterator(Parallelogram2afp<?,?,T,?,?,?> parallelogram, Transform2D transform)
Constructor.- Parameters:
parallelogram
- the parallelogram to iterate on.transform
- the transformation to apply.
-
-
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()
-
-