org.geotools.referencing.operation.transform
Class WarpBuilder
Object
WarpBuilder
public class WarpBuilder
- extends Object
Builds Warp
objects that approximate a specified MathTransform
in a certain
rectangular domain within the specified tolerance
- Author:
- Andrea Aime - GeoSolutions
Constructor Summary |
WarpBuilder(double tolerance)
Creates a new warp builder |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WarpBuilder
public WarpBuilder(double tolerance)
- Creates a new warp builder
setMaxPositions
public void setMaxPositions(int maxPositions)
- Sets the maximum number of positions in the optimized grid, in case we have more we'll
fall back to the warp adapter. By default there is no limit
- Parameters:
maxPositions
-
buildWarp
public Warp buildWarp(MathTransform2D mt,
Rectangle domain)
throws TransformException
- Parameters:
mt
- The math transform to be approximateddomain
- The domain in which the transform will be approximatedtolerance
-
- Returns:
-
- Throws:
TransformException
Copyright © 1996-2014 Geotools. All Rights Reserved.