Package org.locationtech.jts.jump.warp
Class BilinearInterpolatedTransform
- java.lang.Object
-
- org.locationtech.jts.jump.warp.CoordinateTransform
-
- org.locationtech.jts.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
Constructors Constructor Description BilinearInterpolatedTransform(Map triangleMap, TaskMonitor monitor)
Creates a RubberSheetTransform using the given triangulation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.Coordinate
transform(org.locationtech.jts.geom.Coordinate c)
Maps one Coordinate to another.-
Methods inherited from class org.locationtech.jts.jump.warp.CoordinateTransform
transform, transform
-
-
-
-
Constructor Detail
-
BilinearInterpolatedTransform
public BilinearInterpolatedTransform(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 org.locationtech.jts.geom.Coordinate transform(org.locationtech.jts.geom.Coordinate c)
Maps one Coordinate to another.- Specified by:
transform
in classCoordinateTransform
- Parameters:
c
- a Coordinate which must be inside one of the triangle keys passed into the constructor- Returns:
- the transformed Coordinate
-
-