Class SVTQuadtreeBuilder

java.lang.Object
gaiasky.util.svt.SVTQuadtreeBuilder

public class SVTQuadtreeBuilder extends Object
  • Constructor Details

    • SVTQuadtreeBuilder

      public SVTQuadtreeBuilder()
  • Method Details

    • build

      public SVTQuadtree<Path> build(String name, Path location, int tileSize)
      Creates a new SVT quadtree and initializes it with the given file system location and the given tile size.
      Parameters:
      name - The name of the tree.
      location - The location where the levels are. A directory for each level is expected within this location, with the name "level[num]". Usually, "level0" is mandatory.
      tileSize - The size (width and height) of each tile in the SVT.
      Returns:
      The SVT quadtree object.