Class Path3ai.FlatteningPathIterator<E extends PathElement3ai>

    • Constructor Detail

      • FlatteningPathIterator

        public FlatteningPathIterator​(Path3ai<?,​?,​E,​?,​?,​?> path,
                                      PathIterator3ai<? extends E> pathIterator,
                                      double flatness,
                                      int limit)
        Constructor.
        Parameters:
        path - is the path.
        pathIterator - is the path iterator that may be used to initialize the path.
        flatness - the maximum allowable distance between the control points and the flattened curve
        limit - the maximum number of recursive subdivisions allowed for any curved segment