ArcGIS Enterprise SDK

IAffineTransformation2D Interface

Provides access to members that define and manipulate affine transformations.

The IAffineTransformation2D interface defines the function of a transformation, that is, how the coordinates of a Geometry are altered by the transformation. Use the DefineFromControlPoints, DefineFromEnvelopes, DefineFromEnvelopesEx, DefineReflection, Move, MoveVector, Project, Rotate, or Scale methods to define transformation functions for the AffineTransformation2D.

Name |
Description | |
---|---|---|

DefineFromControlPoints | Defines the best affine transformation between two sets of points. Can be used to register paper maps on a digitizer. | |

DefineFromControlPointsEx | Defines the best affine transformation between two sets of points. Can be used to register paper maps on a digitizer. | |

DefineFromEnvelopes | Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope. | |

DefineFromEnvelopesEx | Defines a transformation that maps a point relative to one envelope to a similar position relative to another envelope. | |

DefineReflection | Defines a transformation that can perform a reflection about the line l. | |

GetControlPointError | Returns the errors involved in moving control point i from the 'from' to 'to' system. These error terms are valid after using DefineFromControlPoints/Ex to define the transformation. | |

GetRMSError | RMS (Root Mean Square) error expressed relative to the 'from' and 'to' points defining the transformation. These error terms are valid after using DefineFromControlPoints/Ex to define the transformation. | |

IsReflective | Indicates if the transformation contains a reflection (determinant is negative). | |

Move | Incorporates a translation factor into the transformation. | |

MoveOrigin | The origin of accumulated transformations used when projecting an affine transformation to a different spatial reference system. | |

MoveVector | Performs an X and Y translation defined by a 2D vector. | |

PostMultiply | Post-multiplies the transformation by another transformation. | |

PreMultiply | Pre-multiplies the transformation by another transformation. | |

Project | Moves this transformation into another spatial reference. If the transformations contains only translations, then use the MoveOrigin property to define an equivalent translation in the new spatial reference. | |

Reset | Resets the tranformation. | |

Rotate | Incorporates a rotation (in radians) into the transformation. | |

Rotation | The rotation angle. Will not be able if different x/y scale factors have been incorporated into the transformation. | |

Scale | Incorporates scale factors into the transformation. | |

SpatialReference | The spatial reference in which this transformation is meaningful. | |

TransformMeasuresFF | Transforms floating point measures to floating point measures (or do the inverse). | |

TransformMeasuresFI | Transforms floating point measures to integer measures (or do the inverse). | |

TransformMeasuresIF | Transforms integer measures to floating point measures (or do the inverse). | |

TransformMeasuresII | Transforms integer measures to integer measures (or do the inverse). | |

TransformPointsFF | Transforms floating point points to floating point points (or do the inverse). | |

TransformPointsFI | Transforms floating point points to integer points (or do the inverse). | |

TransformPointsIF | Transforms integer points to floating point points (or do the inverse). | |

TransformPointsII | Transforms integer points to integer points (or do the inverse). | |

XScale | The scale along the X axis. | |

XTranslation | The translation along the X axis. | |

YScale | The scale along the Y axis. | |

YTranslation | The translation along the Y axis. |

Interfaces | Description |
---|---|

ITransformation | Provides access to members that apply a function (or its inverse) to a set of points or measures. The suffix of each method indicates the type of parameters operated on. |

Classes | Description |
---|---|

AffineTransformation2D | A two dimensional affine transformation. |