src/main/java/de/javagl/geom/PathIterators.java
/**
     * Creates a path iterator over a flattening path iterator of the given
     * shape, but ensures that no two consecutive points have a distance
     * that is larger than the given delta.<br>
     * <br>
     * Note that there is no constraint on the <i>minimum</i> distance between
     * the points that are returned. This may, however, be implicitly determined
     * by the given flatness. 
     * 
     * @param shape The shape
     * @param flatness The flatness for the iterator 
     * @param maxDelta The maximum distance between two points
     * @return The path iterator
     */
Creates a path iterator over a flattening path iterator of the given
shape, but ensures that no two consecutive points have a distance
that is larger than the given delta.

Note that there is no constraint on the minimum distance between
the points that are returned. This may, however, be implicitly determined
by the given flatness.

@param shape The shape
@param flatness The flatness for the iterator
@param maxDelta The maximum distance between two points
@return The path iterator
Creates a path iterator over a flattening path iterator of the given shape but ensures that no two consecutive points have a distance that is larger than the given delta . Note that there is no constraint on the minimum distance between the points that are returned . This may however be implicitly determined by the given flatness . @param shape The shape @param flatness The flatness for the iterator @param maxDelta The maximum distance between two points @return The path iterator
public static PathIterator createDeltaPathIterator(
        Shape shape, double flatness, double maxDelta)
    {
        PathIterator delegate = shape.getPathIterator(null, flatness);
        return new DeltaPathIterator(delegate, maxDelta);
    }
public static PathIterator createDeltaPathIterator ( Shape shape , double flatness , double maxDelta ) { PathIterator delegate = shape . getPathIterator ( null , flatness ) ; return new DeltaPathIterator ( delegate , maxDelta ) ; }
Creates a path iterator over a flattening path iterator of the given
 shape, but ensures that no two consecutive points have a distance
 that is larger than the given delta.<br>
 <br>
 Note that there is no constraint on the <i>minimum</i> distance between
 the points that are returned.
Creates a path iterator over a flattening path iterator of the given shape but ensures that no two consecutive points have a distance that is larger than the given delta . <br > <br > Note that there is no constraint on the <i > minimum< / i > distance between the points that are returned .