Class MultiShape3afp.MultiShapePathIterator<IE extends PathElement3afp>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.afp.MultiShape3afp.AbstractMultiShapePathIterator<IE>
-
- org.arakhne.afc.math.geometry.d3.afp.MultiShape3afp.MultiShapePathIterator<IE>
-
- Type Parameters:
IE
- the type of the path elements.
- All Implemented Interfaces:
Cloneable
,Iterator<IE>
,PathIterator3afp<IE>
,PathIterator3D<IE>
- Enclosing interface:
- MultiShape3afp<ST extends Shape3afp<?,?,IE,P,V,B>,IT extends MultiShape3afp<?,?,CT,IE,P,V,B>,CT extends Shape3afp<?,?,IE,P,V,B>,IE extends PathElement3afp,P extends Point3D<? super P,? super V>,V extends Vector3D<? super V,? super P>,B extends RectangularPrism3afp<?,?,IE,P,V,B>>
public static class MultiShape3afp.MultiShapePathIterator<IE extends PathElement3afp> extends MultiShape3afp.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.afp.MultiShape3afp.AbstractMultiShapePathIterator
list
-
-
Constructor Summary
Constructors Constructor Description MultiShapePathIterator(List<? extends Shape3afp<?,?,IE,?,?,?>> list, GeomFactory3afp<IE,?,?,?> factory)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PathIterator3afp<IE>
getPathIteratorFrom(Shape3afp<?,?,IE,?,?,?> shape)
Replies the path iterator of the shape.PathIterator3afp<IE>
restartIterations()
Replies a reset instance of this iterator.-
Methods inherited from class org.arakhne.afc.math.geometry.d3.afp.MultiShape3afp.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
-
MultiShapePathIterator
public MultiShapePathIterator(List<? extends Shape3afp<?,?,IE,?,?,?>> list, GeomFactory3afp<IE,?,?,?> factory)
Constructor.- Parameters:
list
- the list of the shapes to iterate on.factory
- the factory of path elements.
-
-
Method Detail
-
restartIterations
public PathIterator3afp<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 PathIterator3afp<IE> getPathIteratorFrom(Shape3afp<?,?,IE,?,?,?> shape)
Description copied from class:MultiShape3afp.AbstractMultiShapePathIterator
Replies the path iterator of the shape.- Specified by:
getPathIteratorFrom
in classMultiShape3afp.AbstractMultiShapePathIterator<IE extends PathElement3afp>
- Parameters:
shape
- the shape.- Returns:
- the path iterator.
-
-