Package noaa.coastwatch.util
Interface ResamplingMapFactory
- All Known Implementing Classes:
BucketResamplingMapFactory
,DirectResamplingMapFactory
,GridDataResamplingMapFactory
,ResamplingDiagnostic
public interface ResamplingMapFactory
A
ResamplingMapFactory
is an interfaace for objects that
create ResamplingMap
objects on-demand, based on the coordinates
that need to be remapped. A factory instance should be thread-safe so
that map objects can be created simultaneously from multiple threads
if needed.- Since:
- 3.5.0
- Author:
- Peter Hollemans
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(int[] start, int[] length) Creates a new resampling map that covers a specified set of destination coordinates.
-
Method Details
-
create
Creates a new resampling map that covers a specified set of destination coordinates.- Parameters:
start
- the starting rectangle coordinates in the destination space as [row, col].length
- the size of the rectangle in destination space as [rows, cols].- Returns:
- a resampling object that covers the specified destination rectangle or null if the destination rectangle has no corresponding coordinates in the source space.
-