Class Path3ai.AbstractPathIterator<E extends PathElement3ai>

    • Constructor Detail

      • AbstractPathIterator

        public AbstractPathIterator​(Path3ai<?,​?,​E,​?,​?,​?> path)
        Constructor.
        Parameters:
        path - the path.
    • Method Detail

      • 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<E extends PathElement3ai>
        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<E extends PathElement3ai>
        Returns:
        true if the path contains 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<E extends PathElement3ai>
        Returns:
        true if the path has multiple move-to primitive, 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<E extends PathElement3ai>
        Returns:
        true if the path does not contain curve primitives, false otherwise.