ArcObjects Library Reference (Geometry)  

ITransform2D Interface

Provides access to methods for transforming geometries using either specific parameters or arbitrary transformation objects (affine transformations, geographic transformations, etc.).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

ITransform2D is a generic interface implemented by most elements and geometries (i.e., CircleElement, FrameElement, Point, Line, Polygon, etc.).  Use this interface when you want to update the position of the element or geometry through some type of Euclidan 2D transformation opertion (move, rotate, scale, or transform).

Members

Description
Method Move Moves dx units horizontally and dy units vertically.
Method MoveVector Moves a direction and distance v. v can be in a different spatial reference than the geometry being moved.
Method Rotate Rotates about the specified origin point. The angle is in radians. The origin can be in a different spatial reference than the geometry being rotated.
Method Scale Scales about the specified origin using seperate horizonal and vertical scales. The origin point can be in a different spatial reference than the geometry being scaled.
Method Transform Applies an arbitrary transformation. In particular, the transformation parameter can be either an affine transformation or a geographic transformation (datum shift).

CoClasses that implement ITransform2D

CoClasses and Classes Description
BezierCurve A cubic Bezier curve defined between two points; optionally has measure, height and ID attributes at each endpoint.
BmpPictureElement (esriCarto) The Graphic Element to display BMP Pictures.
CircleElement (esriCarto) The Graphic Element to display Circles.
CircularArc A portion of a circle that connects two points optionally has measure, height and ID attributes at each endpoint.
DataGraphTElement (esriCartoUI) A container for the display and manipulation of data graph graphic element on the ArcMap layout view.
DimensionShape (esriCarto) A dimension shape associated with a dimesion feature.
DisplacementLinkElement (esriEditorExt) The Graphic Element to display adjustment links.
EllipseElement (esriCarto) The Graphic Element to display Ellipses.
EllipticArc A portion of the boundary of a 2D ellipse that connects two points; optionally has measure, height and ID attributes at each endpoint.
EmfPictureElement (esriCarto) The Graphic Element to display Emf Pictures.
Envelope A rectangle with sides parallel to a coordinate system defining the extent of another geometry; optionally has min and max measure, height and ID attributes.
FEGraphic (esriDefenseSolutions) A cached graphic that symbolizes a point based military object (feature or force element).
FrameElement (esriCarto) The Frame element to provide a neatline or background.
GeoEllipse (esriDefenseSolutions) Its a spheroidal ellipse.
GeoEllipseElement (esriDefenseSolutions) The graphic element to display GeoEllipses.
GeometryBag An ordered collection of objects that support the IGeometry interface.
GeoPolygon (esriDefenseSolutions) Its a spheroidal polygon.
GeoPolygonElement (esriDefenseSolutions) The graphic element for displaying GeoPolygons.
GeoPolyline (esriDefenseSolutions) This is a spheroidal polyline.
GeoPolylineElement (esriDefenseSolutions) The graphic element for displaying GeoPolylines.
GifPictureElement (esriCarto) Graphic Element to display GIF Pictures.
GraphicLeader (esriDefenseSolutions) A collection of leaderable cached graphics, sorted and drawn using a variety of leader styles, designed to help declutter a display.
GraphicStack (esriDefenseSolutions) An ordered collection of stackable cached graphics, drawn to resemble a stack of cards.
GroupElement (esriCarto) The Group Graphic Element to display a group of graphic elements.
IdentityLinkElement (esriEditorExt) The Graphic Element to display identity links.
InkGraphic (esriCarto) Ink Graphic Object.
Jp2PictureElement (esriCarto) Graphic Element to display JPEG2000 Pictures.
JpgPictureElement (esriCarto) Graphic Element to display JPG Pictures.
Line A 2D straight line between a pair of 2D endpoints; can optionally have height, measure and ID attributes at each endpoint.
LineElement (esriCarto) The Graphic Element to display lines.
MapFrame (esriCarto) A graphic element for displaying maps.
MapSurroundFrame (esriCarto) A graphic element for displaying map surrounds.
MarkerElement (esriCarto) The Graphic Element to display markers.
MoleGroupElement (esriDefenseSolutions) Mole Group Element Class.
MultiPatch A collection of surface patches.
MultiPatchElement (esriCarto) The MultiPatch Graphics Element CoClass.
Multipoint An ordered collection of points; optionally has measure, height and ID attributes.
OleFrame (esriArcMapUI) The OLE frame.
ParagraphTextElement (esriCarto) The Graphic Element to display text which flows into an area geometry.
Path A sequence of connected segments.
PictureElement (esriCarto) Picture Graphic Element.
PMFTitleTextElement (esriCarto) The Graphic Element to display dynamic PMF titles.
PngPictureElement (esriCarto) Graphic Element to display PNG Pictures.
Point A two dimensional point, optionally with measure, height, and ID attributes.
Polygon A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes.
PolygonElement (esriCarto) The Graphic Element to display polygons.
Polyline An ordered collection of paths; optionally has measure, height and ID attributes.
RectangleElement (esriCarto) The Graphic Element to display rectangles.
Ring An area bounded by one, closed sequence of connected segments; optionally has measure, height and ID attributes at each vertex.
TableFrame (esriEditorExt) Graphic Element to display table.
TacticalGraphic (esriDefenseSolutions) A cached graphic that symbolizes a point, line, or polygon based tactical military object (feature or tactical element).
TemporalChartElement (esriTrackingAnalystUI) Controls elements of the temporal charts.
Text3DElement (esriCarto) The Text3D Graphics Element CoClass.
TextElement (esriCarto) The Graphic Element to display text.
TifPictureElement (esriCarto) Graphic Element to display TIF Pictures.
TriangleFan A continuous 3D fan of triangles, where each triangle after the first shares an edge with the preceding triangle, and all triangles share a common pivot point.
Triangles A collection of 3D triangles, where each consecutive triplet of vertices defines a new triangle
TriangleStrip A continuous 3D strip of triangles, where each triangle after the first shares an edge with the preceding triangle.