Class Circle2afp.TransformedCirclePathIterator<T extends PathElement2afp>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.afp.Circle2afp.AbstractCirclePathIterator<T>
-
- org.arakhne.afc.math.geometry.d2.afp.Circle2afp.TransformedCirclePathIterator<T>
-
- Type Parameters:
T
- the type of the path elements.
- All Implemented Interfaces:
Cloneable
,Iterator<T>
,PathIterator2afp<T>
,PathIterator2D<T>
- Enclosing interface:
- Circle2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Circle2afp<?,?,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 Circle2afp.TransformedCirclePathIterator<T extends PathElement2afp> extends Circle2afp.AbstractCirclePathIterator<T>
Iterator on the path elements of the circle.- 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.Circle2afp.AbstractCirclePathIterator
BEZIER_CONTROL_POINTS, circle, CTRL_POINT_DISTANCE, NUMBER_ELEMENTS
-
-
Constructor Summary
Constructors Constructor Description TransformedCirclePathIterator(Circle2afp<?,?,T,?,?,?> circle, 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.Circle2afp.AbstractCirclePathIterator
getGeomFactory, getWindingRule, isCurved, isMultiParts, isPolygon, isPolyline
-
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, remove
-
-
-
-
Constructor Detail
-
TransformedCirclePathIterator
public TransformedCirclePathIterator(Circle2afp<?,?,T,?,?,?> circle, Transform2D transform)
Constructor.- Parameters:
circle
- the iterated circle.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()
-
-