mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 22:03:37 +00:00
committed by
Konstantin Pastbin
parent
c9cbb64f12
commit
76ffc99abd
16
tools/topography_generator/utils/values_provider.hpp
Normal file
16
tools/topography_generator/utils/values_provider.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "geometry/latlon.hpp"
|
||||
|
||||
namespace topography_generator
|
||||
{
|
||||
template <typename ValueType>
|
||||
class ValuesProvider
|
||||
{
|
||||
public:
|
||||
virtual ~ValuesProvider() = default;
|
||||
|
||||
virtual ValueType GetValue(ms::LatLon const & pos) = 0;
|
||||
virtual ValueType GetInvalidValue() const = 0;
|
||||
};
|
||||
} // namespace topography_generator
|
||||
Reference in New Issue
Block a user