diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-05-23 10:42:08 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-05-23 10:42:08 +0200 |
commit | c353dd0befea615adf233afa33c47dd9be6b94a0 (patch) | |
tree | 34cec3a83e78759e9ef6d9c67522d3bf6bbf77c3 /transfer.h | |
parent | e1474028b17651bd9ad75c366ad1bb46aab63a8f (diff) |
transfer: allow optional extrapolation
Diffstat (limited to 'transfer.h')
-rw-r--r-- | transfer.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; /** |