Interface: Geometry

Geometry

A Geometry describes a partitioning of the view space into tiles.

This is an abstract interface; the concrete implementations are CubeGeometry, EquirectGeometry and FlatGeometry.

Methods

visibleTiles(view, level) → {Array.<Tile>}

Return the set of visible tiles for the given view and level. If a result array is supplied, it is filled in with the result and returned. Otherwise, a fresh array is returned.

Parameters:
Name Type Description
view View
level Level
Returns:

result

Type
Array.<Tile>