Class RectangularPrism3ai.RectangleSideIterator<P extends Point3D<? super P,? super V>,V extends Vector3D<? super V,? super P>>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.ai.RectangularPrism3ai.RectangleSideIterator<P,V>
-
- Type Parameters:
P
- type of the points.V
- type of the vectors.
- All Implemented Interfaces:
Iterator<P>
- Enclosing interface:
- RectangularPrism3ai<ST extends Shape3ai<?,?,IE,P,V,B>,IT extends RectangularPrism3ai<?,?,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 RectangularPrism3ai.RectangleSideIterator<P extends Point3D<? super P,? super V>,V extends Vector3D<? super V,? super P>> extends Object implements Iterator<P>
Iterates on points on the sides of a rectangle.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Constructor Summary
Constructors Constructor Description RectangleSideIterator(RectangularPrism3ai<?,?,?,P,V,?> rectangle, RectangularPrism3ai.Side firstSide)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
P
next()
void
remove()
-
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
-
-
-
-
Constructor Detail
-
RectangleSideIterator
public RectangleSideIterator(RectangularPrism3ai<?,?,?,P,V,?> rectangle, RectangularPrism3ai.Side firstSide)
Constructor.- Parameters:
rectangle
- is the rectangle to iterate.firstSide
- the first side to iterate on.
-
-
Method Detail
-
hasNext
@Pure public boolean hasNext()
-
next
public P next()
-
-