ITransformation Interface

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.

Description

The methods of the ITransformation interface provide functions that convert arrays of Points or values according to the defined transformation. These methods are more commonly used in other areas of the ArcObjects model, such as Display and SpatialReference. Only the TransformPointsFF and TransformPointsFI are implemented by the AffineTransformation2D coclass.

Members

Name Description
Method TransformMeasuresFF Transforms floating point measures to floating point measures (or do the inverse).
Method TransformMeasuresFI Transforms floating point measures to integer measures (or do the inverse).
Method TransformMeasuresIF Transforms integer measures to floating point measures (or do the inverse).
Method TransformMeasuresII Transforms integer measures to integer measures (or do the inverse).
Method TransformPointsFF Transforms floating point points to floating point points (or do the inverse).
Method TransformPointsFI Transforms floating point points to integer points (or do the inverse).
Method TransformPointsIF Transforms integer points to floating point points (or do the inverse).
Method TransformPointsII Transforms integer points to integer points (or do the inverse).

ITransformation.TransformMeasuresFF Method

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

Public Sub TransformMeasuresFF ( _
    ByVal Direction As esriTransformDirection, _
    ByVal cMeasures As Integer, _
    ByRef inMeasures As Double, _
    ByRef outMeasures As Double _
)
public void TransformMeasuresFF (
    esriTransformDirection Direction,
    int cMeasures,
    ref double inMeasures,
    ref double outMeasures
);

ITransformation.TransformMeasuresFI Method

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

Public Sub TransformMeasuresFI ( _
    ByVal Direction As esriTransformDirection, _
    ByVal cMeasures As Integer, _
    ByRef inMeasures As Double, _
    ByRef outMeasures As Integer _
)
public void TransformMeasuresFI (
    esriTransformDirection Direction,
    int cMeasures,
    ref double inMeasures,
    ref int outMeasures
);

ITransformation.TransformMeasuresIF Method

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

Public Sub TransformMeasuresIF ( _
    ByVal Direction As esriTransformDirection, _
    ByVal cMeasures As Integer, _
    ByRef inMeasures As Integer, _
    ByRef outMeasures As Double _
)
public void TransformMeasuresIF (
    esriTransformDirection Direction,
    int cMeasures,
    ref int inMeasures,
    ref double outMeasures
);

ITransformation.TransformMeasuresII Method

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

Public Sub TransformMeasuresII ( _
    ByVal Direction As esriTransformDirection, _
    ByVal cMeasures As Integer, _
    ByRef inMeasures As Integer, _
    ByRef outMeasures As Integer _
)
public void TransformMeasuresII (
    esriTransformDirection Direction,
    int cMeasures,
    ref int inMeasures,
    ref int outMeasures
);

ITransformation.TransformPointsFF Method

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

Public Sub TransformPointsFF ( _
    ByVal Direction As esriTransformDirection, _
    ByVal cPoints As Integer, _
    ByRef inPoints As Double, _
    ByRef outPoints As Double _
)
public void TransformPointsFF (
    esriTransformDirection Direction,
    int cPoints,
    ref double inPoints,
    ref double outPoints
);

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.  This code is a shift of the points to the east and north.

 

            IAffineTransformation2D transform = new AffineTransformation2D() as IAffineTransformation2D;

            //Sets the type of transformation moving the values 10 degrees East and 20 degrees North

            transform.Move(10, 20);

            //Create two single dimensioned arrays for the inPoints and OutPoints

            double[] inPoints = new double[4];

            double[] outPoints = new double[4];

            //Interleave the Longitude and Latitude value for two points 1.1E 5.2N, 2.3E 6.4N

            inPoints[0]=1.1; //Longitude point 1

            inPoints[1]=5.2; //Latitude point 1

            inPoints[2]=2.3; //Longitude point 2

            inPoints[3] = 6.4; //Latitude point 2

            transform.TransformPointsFF(0,2,ref inPoints[0],ref outPoints[0]);

            Debug.Print(outPoints[0].ToString()); //11.1

            Debug.Print(outPoints[1].ToString()); //25.2

            Debug.Print(outPoints[2].ToString()); //12.3

            Debug.Print(outPoints[3].ToString()); //26.4

ITransformation.TransformPointsFI Method

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

Public Sub TransformPointsFI ( _
    ByVal Direction As esriTransformDirection, _
    ByVal cPoints As Integer, _
    ByRef inPoints As Double, _
    ByRef outPoints As Integer _
)
public void TransformPointsFI (
    esriTransformDirection Direction,
    int cPoints,
    ref double inPoints,
    ref int outPoints
);

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

ITransformation.TransformPointsIF Method

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

Public Sub TransformPointsIF ( _
    ByVal Direction As esriTransformDirection, _
    ByVal cPoints As Integer, _
    ByRef inPoints As Integer, _
    ByRef outPoints As Double _
)
public void TransformPointsIF (
    esriTransformDirection Direction,
    int cPoints,
    ref int inPoints,
    ref double outPoints
);

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

ITransformation.TransformPointsII Method

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

Public Sub TransformPointsII ( _
    ByVal Direction As esriTransformDirection, _
    ByVal cPoints As Integer, _
    ByRef inPoints As Integer, _
    ByRef outPoints As Integer _
)
public void TransformPointsII (
    esriTransformDirection Direction,
    int cPoints,
    ref int inPoints,
    ref int outPoints
);

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

Classes that implement ITransformation

Classes Description
AbridgedMolodenskyTransformation Creates an Abridged Molodensky transformation.
AdjustXform (esriDataSourcesRaster) An adjustment (rubber sheeting) transform class.
AffineTransformation2D A two dimensional affine transformation.
AffineTransformation3D A three dimensional transformation.
ApproximationXform (esriDataSourcesRaster) A transformation that approximates other transformations.
CompositeGeoTransformation Performs a sequence of geographic transformations.
CompositeXform (esriDataSourcesRaster) A composite geodata transform collection class.
CoordinateFrameTransformation Creates a Coordinate Frame transformation.
EpipolarXform (esriDataSourcesRaster) A transformation that map native image to epipolar image.
Formosat2Xform (esriDataSourcesRaster) A Formosat2 transform class.
FrameXform (esriDataSourcesRaster) A standard frame camera model transformation class.
GCSShiftXform (esriDataSourcesRaster) A GCS shift geodata transform class.
GeocentricTranslation Creates a geocentric translation.
GEOCONTransformation Creates a GEOCON-based transformation.
Geographic2DOffsetTransformation Creates a geographic 2D offset transformation.
GeometricXform (esriDataSourcesRaster) A geometric transform class.
GeoTransformation Generic geotransformation class, holds either a WKT (string) or a WKID (factory code).
HARNTransformation Creates a HARN-based transformation.
HVCompositeDatumTransformation Horizonatal and Vertical datum transformation.
IdentityXform (esriDataSourcesRaster) An identity transform class.
LongitudeRotationTransformation Creates a longitude rotation transformation.
LSRXform (esriDataSourcesRaster) A Local Space Rectangular transform class.
MolodenskyBadekasTransformation Creates a Molodensky-Badekas transformation.
MolodenskyTransformation Creates a Molodensky transformation.
NADCON5Transformation Creates a NADCON5-based transformation.
NADCONTransformation Creates a NADCON-based transformation.
NTv2Transformation Creates a NTv2-based transformation.
NullTransformation Creates a null geographic transformation.
PolynomialXform (esriDataSourcesRaster) A polynomial transform class.
PositionVectorTransformation Creates a Position Vector transformation.
ProjectiveTransformation2D A two dimensional projective transformation.
ProjectiveXform (esriDataSourcesRaster) A projective transform class.
RPCXform (esriDataSourcesRaster) A Rational Polynomial Coefficient (RPC) transform class.
SplineXform (esriDataSourcesRaster) A Thin Plate Spline transform class.
SPOT5Xform (esriDataSourcesRaster) A SPOT5 1A transform class.
UnitChangeTransformation Creates a unit change transformation.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.