Table of Contents

Struct TileBlock

Namespace
EncDotNet.S100.Datasets.Pipelines
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

A block of adjacent tiles at one zoom level that is rendered as one image (a metatile) and then cut into its tiles.

public readonly record struct TileBlock : IEquatable<TileBlock>
Implements
Inherited Members

Constructors

TileBlock(int, int, int, int, int)

A block of adjacent tiles at one zoom level that is rendered as one image (a metatile) and then cut into its tiles.

public TileBlock(int Zoom, int X, int Y, int Columns, int Rows)

Parameters

Zoom int

The zoom level.

X int

The westernmost tile column.

Y int

The northernmost tile row.

Columns int

The number of tile columns.

Rows int

The number of tile rows.

Properties

Columns

The number of tile columns.

public int Columns { get; init; }

Property Value

int

Rows

The number of tile rows.

public int Rows { get; init; }

Property Value

int

TileCount

The number of tiles in the block.

public int TileCount { get; }

Property Value

int

X

The westernmost tile column.

public int X { get; init; }

Property Value

int

Y

The northernmost tile row.

public int Y { get; init; }

Property Value

int

Zoom

The zoom level.

public int Zoom { get; init; }

Property Value

int