|Reverse Affine Transformation
This sample shows you how to create a new Spatial Adjustment transformation method using a reverse affine transformation as an example. This method performs an affine transformation in the reverse or backward direction from the displacement links. It is often used in Spatial Adjustment applications where data is first transformed in a forward direction, edited, then transformed back to its original location using the same transformation parameters.
A similar sample, Reverse Adjustment, also demonstrates this by using two forward adjustments but produces a less accurate result.
How to use:
ArcMap: Spatial Adjustment
- Register the dll.
- Use the category manager to add ReverseAffine.dll to the 'ESRI Adjustment Transformation Methods" component category.
- In ArcMap, create some displacment links and save these to a file.
- Select some data and perform a normal affine transformation.
- Keeping the selected set, load the saved link file, set the adjustment method to reverse affine and adjust.
Minimum ArcGIS Version Required:
||Reverse adjustment class.
||Visual Basic 6 project file.
||The compiled dll.
ITransformationMethod, ITransformationMethodRMSError, IAffineTransformation2D, ITransform2D