From c353dd0befea615adf233afa33c47dd9be6b94a0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 23 May 2019 10:42:08 +0200 Subject: transfer: allow optional extrapolation --- transfer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'transfer.h') diff --git a/transfer.h b/transfer.h index 0a10f3a..2ed4aea 100644 --- a/transfer.h +++ b/transfer.h @@ -85,6 +85,12 @@ typedef struct GridTransferContext { * Destination grid geometry, must be filled by the caller. */ RegularGrid2D dst; + + /** + * Allow extrapolating this many points beyond the source rectangle. + * Defaults to 0: forbid extrapolation. + */ + int extrapolate_distance; } GridTransferContext; /** -- cgit v1.2.3