Class MultiShape2afp.TransformedMultiShapePathIterator<IE extends PathElement2afp>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.afp.MultiShape2afp.AbstractMultiShapePathIterator<IE>
-
- org.arakhne.afc.math.geometry.d2.afp.MultiShape2afp.TransformedMultiShapePathIterator<IE>
-
- Type Parameters:
IE
- the type of the path elements.
- All Implemented Interfaces:
Cloneable
,Iterator<IE>
,PathIterator2afp<IE>
,PathIterator2D<IE>
- Enclosing interface:
- MultiShape2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends MultiShape2afp<?,?,CT,IE,P,V,B>,CT extends Shape2afp<?,?,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 MultiShape2afp.TransformedMultiShapePathIterator<IE extends PathElement2afp> extends MultiShape2afp.AbstractMultiShapePathIterator<IE>
Iterator on the path elements of the multishape.- 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.MultiShape2afp.AbstractMultiShapePathIterator
list
-
-
Constructor Summary
Constructors Constructor Description TransformedMultiShapePathIterator(List<? extends Shape2afp<?,?,IE,?,?,?>> list, GeomFactory2afp<IE,?,?,?> factory, Transform2D transform)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PathIterator2afp<IE>
getPathIteratorFrom(Shape2afp<?,?,IE,?,?,?> shape)
Replies the path iterator of the shape.PathIterator2afp<IE>
restartIterations()
Replies a reset instance of this iterator.-
Methods inherited from class org.arakhne.afc.math.geometry.d2.afp.MultiShape2afp.AbstractMultiShapePathIterator
delayedInit, getGeomFactory, getWindingRule, hasNext, isCurved, isMultiParts, isPolygon, isPolyline, next
-
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
-
TransformedMultiShapePathIterator
public TransformedMultiShapePathIterator(List<? extends Shape2afp<?,?,IE,?,?,?>> list, GeomFactory2afp<IE,?,?,?> factory, Transform2D transform)
Constructor.- Parameters:
list
- the list of the shapes to iterate on.factory
- the factory of path elements.transform
- the transformation to apply.
-
-
Method Detail
-
restartIterations
public PathIterator2afp<IE> 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.
-
getPathIteratorFrom
protected PathIterator2afp<IE> getPathIteratorFrom(Shape2afp<?,?,IE,?,?,?> shape)
Description copied from class:MultiShape2afp.AbstractMultiShapePathIterator
Replies the path iterator of the shape.- Specified by:
getPathIteratorFrom
in classMultiShape2afp.AbstractMultiShapePathIterator<IE extends PathElement2afp>
- Parameters:
shape
- the shape.- Returns:
- the path iterator.
-
-