How to create an ApproximationXform

This example shows how to create an ApproximationXform class. An ApproximationXform object can be used to approximate a geodata transformation that is computationally expensive to improve the transformation speed.

Creating an ApproximationXform

Use the following code example in your application:
static IApproximationXform createApproximateXform(IGeodataXform xform)throws
    //create an approximation of xform
    IApproximationXform approximateXform = new ApproximationXform();

    //define the approximation parameters
    IGeodataXformApproximation geodataXformApproximation = 
    geodataXformApproximation.setTolerance(10); //unit is in the input space
    return approximateXform;

Development licensingDeployment licensing
ArcGIS for Desktop Advanced
ArcGIS for Desktop AdvancedArcGIS for Desktop Standard
ArcGIS for Desktop StandardArcGIS for Desktop Basic
ArcGIS for Desktop BasicEngine
Engine Developer Kit