Class VectorTiledDataset
java.lang.Object
com.google.common.cache.CacheLoader<ChunkPos,CompletableFuture<BVH<VectorGeometry>>>
net.buildtheearth.terraminusminus.dataset.Dataset<ChunkPos,BVH<VectorGeometry>>
net.buildtheearth.terraminusminus.dataset.TiledDataset<BVH<VectorGeometry>>
net.buildtheearth.terraminusminus.dataset.vector.VectorTiledDataset
- All Implemented Interfaces:
IDataset<ChunkPos,,BVH<VectorGeometry>> IElementDataset<BVH<VectorGeometry>>
public class VectorTiledDataset
extends TiledDataset<BVH<VectorGeometry>>
implements IElementDataset<BVH<VectorGeometry>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException, com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException -
Field Summary
FieldsFields inherited from class net.buildtheearth.terraminusminus.dataset.TiledDataset
projection, tileSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAsync(@NonNull CornerBoundingBox2d bounds) Gets all of the elements that intersect the given bounding box.Methods inherited from class net.buildtheearth.terraminusminus.dataset.TiledDataset
projection, tileSizeMethods inherited from class com.google.common.cache.CacheLoader
asyncReloading, from, from, loadAll, reload
-
Field Details
-
delegate
-
-
Constructor Details
-
VectorTiledDataset
-
-
Method Details
-
load
-
getAsync
public CompletableFuture<BVH<VectorGeometry>[]> getAsync(@NonNull @NonNull CornerBoundingBox2d bounds) throws OutOfProjectionBoundsException Description copied from interface:IElementDatasetGets all of the elements that intersect the given bounding box.- Specified by:
getAsyncin interfaceIElementDataset<BVH<VectorGeometry>>- Parameters:
bounds- the bounding box- Returns:
- a
CompletableFuturewhich will be completed with the elements - Throws:
OutOfProjectionBoundsException
-