public class WarpBuilder extends Object
Warp
objects that approximate a specified MathTransform
in a certain
rectangular domain within the specified toleranceConstructor and Description |
---|
WarpBuilder(double tolerance)
Creates a new warp builder
|
Modifier and Type | Method and Description |
---|---|
Warp |
buildWarp(MathTransform2D mt,
Rectangle domain) |
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.
|
public void setMaxPositions(int maxPositions)
maxPositions
- public Warp buildWarp(MathTransform2D mt, Rectangle domain) throws TransformException
mt
- The math transform to be approximateddomain
- The domain in which the transform will be approximatedtolerance
- TransformException
Copyright © 1996–2019 Geotools. All rights reserved.