Class MultiShape2ai.TransformedMultiShapePathIterator<IE extends PathElement2ai>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.ai.MultiShape2ai.AbstractMultiShapePathIterator<IE>
-
- org.arakhne.afc.math.geometry.d2.ai.MultiShape2ai.TransformedMultiShapePathIterator<IE>
-
- Type Parameters:
IE
- the type of the path elements.
- All Implemented Interfaces:
Iterator<IE>
,PathIterator2ai<IE>
,PathIterator2D<IE>
- Enclosing interface:
- MultiShape2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends MultiShape2ai<?,?,CT,IE,P,V,B>,CT extends Shape2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
public static class MultiShape2ai.TransformedMultiShapePathIterator<IE extends PathElement2ai> extends MultiShape2ai.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.ai.MultiShape2ai.AbstractMultiShapePathIterator
list
-
-
Constructor Summary
Constructors Constructor Description TransformedMultiShapePathIterator(List<? extends Shape2ai<?,?,IE,?,?,?>> list, GeomFactory2ai<IE,?,?,?> factory, Transform2D transform)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PathIterator2ai<IE>
getPathIteratorFrom(Shape2ai<?,?,IE,?,?,?> shape)
Replies the path iterator of the shape.PathIterator2ai<IE>
restartIterations()
Replies a reset instance of this iterator.-
Methods inherited from class org.arakhne.afc.math.geometry.d2.ai.MultiShape2ai.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 Shape2ai<?,?,IE,?,?,?>> list, GeomFactory2ai<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 PathIterator2ai<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 PathIterator2ai<IE> getPathIteratorFrom(Shape2ai<?,?,IE,?,?,?> shape)
Description copied from class:MultiShape2ai.AbstractMultiShapePathIterator
Replies the path iterator of the shape.- Specified by:
getPathIteratorFrom
in classMultiShape2ai.AbstractMultiShapePathIterator<IE extends PathElement2ai>
- Parameters:
shape
- the shape.- Returns:
- the path iterator.
-
-