NASA World Wind

gov.nasa.worldwind.render
Interface MultiResolutionPath.SkipCountComputer

Enclosing class:
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 Summary
 int computeSkipCount(DrawContext dc, Path.PathData pathData)
          Determines the number of positions to skip for the current viewing state.
 

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.

NASA World Wind