com.vividsolutions.jump.warp
Class BilinearInterpolatedTransform

java.lang.Object
  extended by com.vividsolutions.jump.warp.CoordinateTransform
      extended by com.vividsolutions.jump.warp.BilinearInterpolatedTransform

public class BilinearInterpolatedTransform
extends CoordinateTransform

Bilinear interpolated triangulation transform, also known as "rubber sheeting". See Saalfeld, Alan. 1985. A Fast Rubber-Sheeting Transformation Using Simplical Coordinates. "The American Cartographer" 12:2, 169-173.


Constructor Summary
BilinearInterpolatedTransform(java.util.Map triangleMap, TaskMonitor monitor)
          Creates a RubberSheetTransform using the given triangulation.
 
Method Summary
 com.vividsolutions.jts.geom.Coordinate transform(com.vividsolutions.jts.geom.Coordinate c)
          Maps one Coordinate to another.
 
Methods inherited from class com.vividsolutions.jump.warp.CoordinateTransform
transform, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BilinearInterpolatedTransform

public BilinearInterpolatedTransform(java.util.Map triangleMap,
                                     TaskMonitor monitor)
Creates a RubberSheetTransform using the given triangulation.

Parameters:
triangleMap - a map of source Triangle to destination Triangle
Method Detail

transform

public com.vividsolutions.jts.geom.Coordinate transform(com.vividsolutions.jts.geom.Coordinate c)
Maps one Coordinate to another.

Specified by:
transform in class CoordinateTransform
Parameters:
c - a Coordinate which must be inside one of the triangle keys passed into the constructor
Returns:
the transformed Coordinate