Package gov.nasa.worldwind.render
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-