Package snap.gfx3d

Class Polygon3D.PointArrayPathIter2D

java.lang.Object
snap.geom.PathIter
snap.gfx3d.Polygon3D.PointArrayPathIter2D
Enclosing class:
Polygon3D

public static class Polygon3D.PointArrayPathIter2D extends PathIter
PathIter for PointArray.
  • Constructor Details

    • PointArrayPathIter2D

      public PointArrayPathIter2D(float[] aPointArray, int aPointArrayLength, Transform aTransform)
      Constructor.
  • Method Details

    • hasNext

      public boolean hasNext()
      Returns whether there are more segments.
      Specified by:
      hasNext in class PathIter
    • getNext

      public Seg getNext(double[] coords)
      Returns the coordinates and type of the current path segment in the iteration.
      Specified by:
      getNext in class PathIter