Class Rectangle2ai.RectangleSideIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d2.ai.Rectangle2ai.RectangleSideIterator<P,V>
-
- Type Parameters:
P
- type of the points.V
- type of the vectors.
- All Implemented Interfaces:
Iterator<P>
- Enclosing interface:
- Rectangle2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends Rectangle2ai<?,?,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 Rectangle2ai.RectangleSideIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? 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(Rectangle2ai<?,?,?,P,V,?> rectangle, Rectangle2ai.Side firstSide)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
P
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
-
RectangleSideIterator
RectangleSideIterator(Rectangle2ai<?,?,?,P,V,?> rectangle, Rectangle2ai.Side firstSide)
Constructor.- Parameters:
rectangle
- is the rectangle to iterate.firstSide
- the first side to iterate on.
-
-