Class Rectangle2ai.RectangleSideIterator<P extends Point2D<? super P,​? super V>,​V extends Vector2D<? super V,​? super P>>

  • 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 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.