Table of Contents

Class HeightmapSampler

public sealed class HeightmapSampler
Inheritance
object
HeightmapSampler

Constructors

HeightmapSampler(IReadOnlyDictionary<long, TerrariumHeightTile>, ZoomLevel)

public HeightmapSampler(IReadOnlyDictionary<long, TerrariumHeightTile> tiles, ZoomLevel zoom)

Parameters

tiles IReadOnlyDictionary<long, TerrariumHeightTile>
zoom ZoomLevel

Methods

TrySampleMeters(LatLon, out double)

public bool TrySampleMeters(LatLon latLon, out double meters)

Parameters

latLon LatLon
meters double

Returns

bool

TrySampleMeters(MercatorPoint, out double)

public bool TrySampleMeters(MercatorPoint merc, out double meters)

Parameters

merc MercatorPoint
meters double

Returns

bool