Class Triangle2afp.TransformedTrianglePathIterator<T extends PathElement2afp>

    • Constructor Detail

      • TransformedTrianglePathIterator

        public TransformedTrianglePathIterator​(Triangle2afp<?,​?,​T,​?,​?,​?> triangle,
                                               Transform2D transform)
        Constructor.
        Parameters:
        triangle - the iterated triangle.
        transform - the transformation to apply.
    • Method Detail

      • restartIterations

        public PathIterator2afp<T> restartIterations()
        Description copied from interface: PathIterator2D
        Replies a reset instance of this iterator.

        The reset instance enables to restart iterations with the replied iterator.

        Returns:
        the reset iterator.
      • hasNext

        @Pure
        public boolean hasNext()
      • next

        public T next()