Class Path3afp.AbstractPathPathIterator<T extends PathElement3afp>

    • Constructor Detail

      • AbstractPathPathIterator

        public AbstractPathPathIterator​(Path3afp<?,​?,​T,​?,​?,​?> path)
        Constructor.
        Parameters:
        path - the iterated path.
    • Method Detail

      • getPath

        public Path3afp<?,​?,​T,​?,​?,​?> getPath()
        Replies the path.
        Returns:
        the path.
      • isPolyline

        public boolean isPolyline()
        Description copied from interface: PathIterator3D
        Replies the path is composed only by one MOVE_TO, and a sequence of LINE_TO primitives.
        Specified by:
        isPolyline in interface PathIterator3D<T extends PathElement3afp>
        Returns:
        true if the path does not contain curve primitives, false otherwise.
      • isCurved

        public boolean isCurved()
        Description copied from interface: PathIterator3D
        Replies the path contains a curve.
        Specified by:
        isCurved in interface PathIterator3D<T extends PathElement3afp>
        Returns:
        true if the path contains curve primitives, false otherwise.
      • isPolygon

        public boolean isPolygon()
        Description copied from interface: PathIterator3D
        Replies the path is composed only by one MOVE_TO, a sequence of LINE_TO or QUAD_TO or CURVE_TO, and a single CLOSE primitives.
        Specified by:
        isPolygon in interface PathIterator3D<T extends PathElement3afp>
        Returns:
        true if the path does not contain curve primitives, false otherwise.
      • isMultiParts

        public boolean isMultiParts()
        Description copied from interface: PathIterator3D
        Replies the path has multiple parts, i.e. multiple MOVE_TO are inside. primitives.
        Specified by:
        isMultiParts in interface PathIterator3D<T extends PathElement3afp>
        Returns:
        true if the path has multiple move-to primitive, false otherwise.