tess 0.4.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::LocalChunkTopology Class Reference

Connected-region labels and boundary exits for one world chunk. More...

#include <tess/topology/topology.h>

Public Member Functions

void clear () noexcept
auto chunk () const noexcept -> ChunkKey
auto chunk_coord () const noexcept -> ChunkCoord3
auto version () const noexcept -> std::uint32_t
auto region_ids () const noexcept -> std::span< const LocalRegionId >
auto regions () const noexcept -> std::span< const LocalRegion >
auto region (LocalRegionId id) const noexcept -> const LocalRegion *
auto boundary_exits () const noexcept -> std::span< const LocalBoundaryExit >
auto region_at (LocalTileId tile) const noexcept -> LocalRegionId
template<typename Shape>
auto region_at (LocalCoord3 coord) const noexcept -> LocalRegionId

Friends

template<typename World, typename PassableTag>
auto build_local_chunk_topology (const World &world, ChunkKey chunk, LocalTopologyScratch &scratch, LocalChunkTopology &topology) -> LocalTopologyResult
 Builds connected-region labels for one valid, resident world chunk.

Detailed Description

Connected-region labels and boundary exits for one world chunk.


The documentation for this class was generated from the following file: