org.geotools.coverage.operation
Class Interpolator2D

java.lang.Object
  extended byorg.geotools.coverage.operation.Interpolator2D

Deprecated. Moved as Interpolator2D.

public final class Interpolator2D
extends java.lang.Object

A grid coverage using an interpolation for evaluating points. This interpolator is not used for nearest-neighbor interpolation (use the plain GridCoverage2D class for that). It should work for other kinds of interpolation however.

Since:
2.1
Version:
$Id: Interpolator2D.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux

Nested Class Summary
static class Interpolator2D.Operation
          Deprecated. Replaced by Interpolate.
 
Method Summary
static GridCoverage2D create(GridCoverage2D coverage)
          Deprecated. Constructs a new interpolator using default interpolations.
static GridCoverage2D create(GridCoverage2D coverage, javax.media.jai.Interpolation interpolation)
          Deprecated. Constructs a new interpolator for a single interpolation.
static GridCoverage2D create(GridCoverage2D coverage, javax.media.jai.Interpolation[] interpolations)
          Deprecated. Constructs a new interpolator for an interpolation and its fallbacks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static GridCoverage2D create(GridCoverage2D coverage)
Deprecated. 
Constructs a new interpolator using default interpolations.

Parameters:
coverage - The coverage to interpolate.

create

public static GridCoverage2D create(GridCoverage2D coverage,
                                    javax.media.jai.Interpolation interpolation)
Deprecated. 
Constructs a new interpolator for a single interpolation.

Parameters:
coverage - The coverage to interpolate.
interpolation - The interpolation to use.

create

public static GridCoverage2D create(GridCoverage2D coverage,
                                    javax.media.jai.Interpolation[] interpolations)
Deprecated. 
Constructs a new interpolator for an interpolation and its fallbacks. The fallbacks are used if the primary interpolation failed because of NaN values in the interpolated point neighbor.

Parameters:
coverage - The coverage to interpolate.
interpolations - The interpolation to use and its fallback (if any).


Copyright © GeoTools. All Rights Reserved.