Class RoundRectangle2afp.RoundRectanglePathIterator<T extends PathElement2afp>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.afp.RoundRectangle2afp.AbstractRoundRectanglePathIterator<T>
-
- org.arakhne.afc.math.geometry.d2.afp.RoundRectangle2afp.RoundRectanglePathIterator<T>
-
- Type Parameters:
T
- the type of the path elements.
- All Implemented Interfaces:
Cloneable
,Iterator<T>
,PathIterator2afp<T>
,PathIterator2D<T>
- Enclosing interface:
- RoundRectangle2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends RoundRectangle2afp<?,?,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 RoundRectangle2afp.RoundRectanglePathIterator<T extends PathElement2afp> extends RoundRectangle2afp.AbstractRoundRectanglePathIterator<T>
Iterator on the path elements of the rectangle.- 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
-
-
Field Summary
-
Fields inherited from class org.arakhne.afc.math.geometry.d2.afp.RoundRectangle2afp.AbstractRoundRectanglePathIterator
ELEMENT_COUNT, rectangle
-
-
Constructor Summary
Constructors Constructor Description RoundRectanglePathIterator(RoundRectangle2afp<?,?,T,?,?,?> rectangle)
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.RoundRectangle2afp.AbstractRoundRectanglePathIterator
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
-
RoundRectanglePathIterator
public RoundRectanglePathIterator(RoundRectangle2afp<?,?,T,?,?,?> rectangle)
Constructor.- Parameters:
rectangle
- the round rectangle to iterate on.
-
-
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()
-
-