Interface MultiResolutionPath.SkipCountComputer

  • Enclosing class:
    gov.nasa.worldwind.render.MultiResolutionPath

    public static interface MultiResolutionPath.SkipCountComputer
    This interface provides the means for the application to specify the algorithm used to determine the number of specified positions skipped during path tessellation.

    This class overrides the method Path.makePositions(DrawContext, PathData).

    • Method Detail

      • computeSkipCount

        int computeSkipCount​(DrawContext dc,
                             Path.PathData pathData)
        Determines the number of positions to skip for the current viewing state. Determines the number of positions to skip for the current viewing state.
        Parameters:
        dc - the current draw context.
        pathData - this shape's current path data.
        Returns:
        the number of positions to skip when computing the tessellated or non-tessellated path.