38 const Array &h_source2,
41 bool bilinear =
true);
56 const std::vector<const CoordFrame *> &t_sources,
58 bool bilinear =
true);
79 float fill_value = 0.f,
80 Array *p_mask =
nullptr);
101 bool bilinear =
true);
115void flatten_terrain(
const std::vector<const VirtualArray *> &h_sources,
117 const std::vector<const CoordFrame *> &t_sources,
120 bool bilinear =
true);
142 bool bilinear =
true,
143 float fill_value = 0.f,
Declaration of the Array class for 2D floating-point arrays with various mathematical operations and ...
Array class, helper to manipulate 2D float array with "(i, j)" indexing.
Definition array.hpp:31
Definition coord_frame.hpp:40
void interpolate_terrain(const Array &h_source, Array &h_target, const CoordFrame &t_source, const CoordFrame &t_target, bool bilinear=true, float fill_value=0.f, Array *p_mask=nullptr)
Project and interpolate a source terrain array onto a target terrain array using their world-space co...
Definition interpolate_array.cpp:351
void flatten_terrain(Array &h_source1, const Array &h_source2, const CoordFrame &t_source1, const CoordFrame &t_source2, bool bilinear=true)
Blend a second terrain array in-place onto a base terrain array using their world-space coordinate fr...
Definition interpolate_array.cpp:406
Definition virtual_array.hpp:54
Definition virtual_array.hpp:65