Class MultiShape3ai.TransformedMultiShapePathIterator<IE extends PathElement3ai>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.ai.MultiShape3ai.AbstractMultiShapePathIterator<IE>
-
- org.arakhne.afc.math.geometry.d3.ai.MultiShape3ai.TransformedMultiShapePathIterator<IE>
-
- Type Parameters:
IE
- the type of the path elements.
- All Implemented Interfaces:
Iterator<IE>
,PathIterator3ai<IE>
,PathIterator3D<IE>
- Enclosing interface:
- MultiShape3ai<ST extends Shape3ai<?,?,IE,P,V,B>,IT extends MultiShape3ai<?,?,CT,IE,P,V,B>,CT extends Shape3ai<?,?,IE,P,V,B>,IE extends PathElement3ai,P extends Point3D<? super P,? super V>,V extends Vector3D<? super V,? super P>,B extends RectangularPrism3ai<?,?,IE,P,V,B>>
public static class MultiShape3ai.TransformedMultiShapePathIterator<IE extends PathElement3ai> extends MultiShape3ai.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.d3.ai.MultiShape3ai.AbstractMultiShapePathIterator
list
-
-
Constructor Summary
Constructors Constructor Description TransformedMultiShapePathIterator(List<? extends Shape3ai<?,?,IE,?,?,?>> list, GeomFactory3ai<IE,?,?,?> factory, Transform3D transform)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PathIterator3ai<IE>
getPathIteratorFrom(Shape3ai<?,?,IE,?,?,?> shape)
Replies the path iterator of the shape.PathIterator3ai<IE>
restartIterations()
Replies a reset instance of this iterator.-
Methods inherited from class org.arakhne.afc.math.geometry.d3.ai.MultiShape3ai.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 Shape3ai<?,?,IE,?,?,?>> list, GeomFactory3ai<IE,?,?,?> factory, Transform3D 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 PathIterator3ai<IE> restartIterations()
Description copied from interface:PathIterator3D
Replies a reset instance of this iterator.The reset instance enables to restart iterations with the replied iterator.
- Returns:
- the reset iterator.
-
getPathIteratorFrom
protected PathIterator3ai<IE> getPathIteratorFrom(Shape3ai<?,?,IE,?,?,?> shape)
Description copied from class:MultiShape3ai.AbstractMultiShapePathIterator
Replies the path iterator of the shape.- Specified by:
getPathIteratorFrom
in classMultiShape3ai.AbstractMultiShapePathIterator<IE extends PathElement3ai>
- Parameters:
shape
- the shape.- Returns:
- the path iterator.
-
-