Interface: Tile

Tile

A Tile is one of the partitions of a Geometry.

This is an abstract interface; the concrete implementations are CubeTile, EquirectTile and FlatTile.

Methods

cmp(that) → {number}

Tile comparison function. Sorts tiles in bottom-to-top stacking order.

Parameters:
Name Type Description
that Tile

The tile to compare against.

Returns:
Type
number

equals(that) → {boolean}

Tile equality predicate.

Parameters:
Name Type Description
that Tile

The tile to compare against.

Returns:
Type
boolean

hash() → {number}

Tile hash function.

Returns:
Type
number