Class AffineTransformation3DClass

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll
[Guid("C55F63F7-27B9-11D5-9F84-00C04F6BDF0D")]
[ClassInterface(ClassInterfaceType.None)]
public class AffineTransformation3DClass : AffineTransformation3D, ITransformationGEN, ITransformation3DGEN, ITransformation3D, IAffineTransformation3D, ITransformation, IAffineTransformation3DGEN, IClone, ISupportErrorInfo
Inheritance
AffineTransformation3DClass
Implements
Inherited Members

Constructors

AffineTransformation3DClass()

public AffineTransformation3DClass()

Explicit Interface Implementations

Assign(IClone)

Assigns the properties of src to the receiver.

virtual void Assign(IClone src)

Parameters

src IClone

Clone()

Clones the receiver and assigns the result to *clone.

virtual IClone Clone()

Returns

IClone

DefineFromControlPoints(ref IPoint[], ref IPoint[])

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

virtual void DefineFromControlPoints(ref IPoint[] fromPoints, ref IPoint[] toPoints)

Parameters

fromPoints IPoint[]
toPoints IPoint[]

DefineFromControlPoints(int, ref IPoint, ref IPoint)

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

virtual void DefineFromControlPoints(int numPoints, ref IPoint fromPoints, ref IPoint toPoints)

Parameters

numPoints int
fromPoints IPoint
toPoints IPoint

DefineFromControlPointsEx(int, ref WKSPointZ, ref WKSPointZ)

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

virtual void DefineFromControlPointsEx(int numPoints, ref WKSPointZ fromPoints, ref WKSPointZ toPoints)

Parameters

numPoints int
fromPoints WKSPointZ
toPoints WKSPointZ

GetControlPointError(int, out double, out double)

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.

virtual void GetControlPointError(int i, out double fromError, out double toError)

Parameters

i int
fromError double
toError double

GetRMSError(out double, out double)

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.

virtual void GetRMSError(out double fromError, out double toError)

Parameters

fromError double
toError double

IAffineTransformation3DGEN_GetControlPointError(int, ref double, ref double)

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.

virtual void IAffineTransformation3DGEN_GetControlPointError(int i, ref double fromError, ref double toError)

Parameters

i int
fromError double
toError double

IAffineTransformation3DGEN_GetRMSError(ref double, ref double)

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.

virtual void IAffineTransformation3DGEN_GetRMSError(ref double fromError, ref double toError)

Parameters

fromError double
toError double

IAffineTransformation3DGEN_TransformMeasuresFF(esriTransformDirection, ref double[], ref double[])

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

virtual void IAffineTransformation3DGEN_TransformMeasuresFF(esriTransformDirection Direction, ref double[] inMeasures, ref double[] outMeasures)

Parameters

Direction esriTransformDirection
inMeasures double[]
outMeasures double[]

IAffineTransformation3DGEN_TransformMeasuresFI(esriTransformDirection, ref double[], ref int[])

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

virtual void IAffineTransformation3DGEN_TransformMeasuresFI(esriTransformDirection Direction, ref double[] inMeasures, ref int[] outMeasures)

Parameters

Direction esriTransformDirection
inMeasures double[]
outMeasures int[]

IAffineTransformation3DGEN_TransformMeasuresIF(esriTransformDirection, ref int[], ref double[])

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

virtual void IAffineTransformation3DGEN_TransformMeasuresIF(esriTransformDirection Direction, ref int[] inMeasures, ref double[] outMeasures)

Parameters

Direction esriTransformDirection
inMeasures int[]
outMeasures double[]

IAffineTransformation3DGEN_TransformMeasuresII(esriTransformDirection, ref int[], ref int[])

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

virtual void IAffineTransformation3DGEN_TransformMeasuresII(esriTransformDirection Direction, ref int[] inMeasures, ref int[] outMeasures)

Parameters

Direction esriTransformDirection
inMeasures int[]
outMeasures int[]

IAffineTransformation3DGEN_TransformPointsFF(esriTransformDirection, ref double[], ref double[])

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

virtual void IAffineTransformation3DGEN_TransformPointsFF(esriTransformDirection Direction, ref double[] inPoints, ref double[] outPoints)

Parameters

Direction esriTransformDirection
inPoints double[]
outPoints double[]

IAffineTransformation3DGEN_TransformPointsFI(esriTransformDirection, ref double[], ref int[])

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

virtual void IAffineTransformation3DGEN_TransformPointsFI(esriTransformDirection Direction, ref double[] inPoints, ref int[] outPoints)

Parameters

Direction esriTransformDirection
inPoints double[]
outPoints int[]

IAffineTransformation3DGEN_TransformPointsIF(esriTransformDirection, ref int[], ref double[])

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

virtual void IAffineTransformation3DGEN_TransformPointsIF(esriTransformDirection Direction, ref int[] inPoints, ref double[] outPoints)

Parameters

Direction esriTransformDirection
inPoints int[]
outPoints double[]

IAffineTransformation3DGEN_TransformPointsII(esriTransformDirection, ref int[], ref int[])

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

virtual void IAffineTransformation3DGEN_TransformPointsII(esriTransformDirection Direction, ref int[] inPoints, ref int[] outPoints)

Parameters

Direction esriTransformDirection
inPoints int[]
outPoints int[]

IAffineTransformation3D_TransformMeasuresFF(esriTransformDirection, int, ref double, ref double)

virtual void IAffineTransformation3D_TransformMeasuresFF(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref double outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures double
outMeasures double

IAffineTransformation3D_TransformMeasuresFI(esriTransformDirection, int, ref double, ref int)

virtual void IAffineTransformation3D_TransformMeasuresFI(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref int outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures double
outMeasures int

IAffineTransformation3D_TransformMeasuresIF(esriTransformDirection, int, ref int, ref double)

virtual void IAffineTransformation3D_TransformMeasuresIF(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref double outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures int
outMeasures double

IAffineTransformation3D_TransformMeasuresII(esriTransformDirection, int, ref int, ref int)

virtual void IAffineTransformation3D_TransformMeasuresII(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref int outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures int
outMeasures int

IAffineTransformation3D_TransformPointsFF(esriTransformDirection, int, ref double, ref double)

virtual void IAffineTransformation3D_TransformPointsFF(esriTransformDirection Direction, int cPoints, ref double inPoints, ref double outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints double
outPoints double

IAffineTransformation3D_TransformPointsFI(esriTransformDirection, int, ref double, ref int)

virtual void IAffineTransformation3D_TransformPointsFI(esriTransformDirection Direction, int cPoints, ref double inPoints, ref int outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints double
outPoints int

IAffineTransformation3D_TransformPointsIF(esriTransformDirection, int, ref int, ref double)

virtual void IAffineTransformation3D_TransformPointsIF(esriTransformDirection Direction, int cPoints, ref int inPoints, ref double outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints int
outPoints double

IAffineTransformation3D_TransformPointsII(esriTransformDirection, int, ref int, ref int)

virtual void IAffineTransformation3D_TransformPointsII(esriTransformDirection Direction, int cPoints, ref int inPoints, ref int outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints int
outPoints int

ITransformation3D_PostMultiply(ITransformation3D)

Post-multiplies the transformation by another transformation.

virtual void ITransformation3D_PostMultiply(ITransformation3D postTransform)

Parameters

postTransform ITransformation3D

ITransformation3D_PreMultiply(ITransformation3D)

Pre-multiplies the transformation by another transformation.

virtual void ITransformation3D_PreMultiply(ITransformation3D preTransform)

Parameters

preTransform ITransformation3D

ITransformation3D_Reset()

Resets the transformation to unit matrix.

virtual void ITransformation3D_Reset()

ITransformation3D_Rotate(double, IVector3D)

Adds a rotation in radians to the transformation matrix.

virtual void ITransformation3D_Rotate(double rotationAngle, IVector3D rotationAxis)

Parameters

rotationAngle double
rotationAxis IVector3D

ITransformation3D_Scale(double, double, double)

Adds a scaling factor to the transformation matrix.

virtual void ITransformation3D_Scale(double sx, double sy, double sz)

Parameters

sx double
sy double
sz double

ITransformation3D_Translate(IVector3D)

Adds an offset (move) to the transformation matrix.

virtual void ITransformation3D_Translate(IVector3D offsetVector)

Parameters

offsetVector IVector3D

InterfaceSupportsErrorInfo(ref Guid)

virtual void InterfaceSupportsErrorInfo(ref Guid riid)

Parameters

riid Guid

IsEqual(IClone)

Indicates if the receiver and other have the same properties.

virtual bool IsEqual(IClone other)

Parameters

other IClone

Returns

bool

IsIdentical(IClone)

Indicates if the receiver and other are the same object.

virtual bool IsIdentical(IClone other)

Parameters

other IClone

Returns

bool

PostMultiply(ITransformation3D)

Post-multiplies the transformation by another transformation.

virtual void PostMultiply(ITransformation3D postTransform)

Parameters

postTransform ITransformation3D

PreMultiply(ITransformation3D)

Pre-multiplies the transformation by another transformation.

virtual void PreMultiply(ITransformation3D preTransform)

Parameters

preTransform ITransformation3D

Reset()

Resets the transformation to unit matrix.

virtual void Reset()

Rotate(double, IVector3D)

Adds a rotation in radians to the transformation matrix.

virtual void Rotate(double rotationAngle, IVector3D rotationAxis)

Parameters

rotationAngle double
rotationAxis IVector3D

Scale(double, double, double)

Adds a scaling factor to the transformation matrix.

virtual void Scale(double sx, double sy, double sz)

Parameters

sx double
sy double
sz double

Transform(ref WKSPointZ[], ref WKSPointZ[])

Applies the current transformation to a set of points. Use of methods on ITransform3D is recommended instead of this method.

virtual void Transform(ref WKSPointZ[] originalPoints, ref WKSPointZ[] transformedPoints)

Parameters

originalPoints WKSPointZ[]
transformedPoints WKSPointZ[]

Transform(int, ref WKSPointZ, out WKSPointZ)

Applies the current transformation to a set of points. Use of methods on ITransform3D is recommended instead of this method.

virtual void Transform(int numPoints, ref WKSPointZ originalPoints, out WKSPointZ transformedPoints)

Parameters

numPoints int
originalPoints WKSPointZ
transformedPoints WKSPointZ

TransformMeasuresFF(esriTransformDirection, ref double[], ref double[])

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

virtual void TransformMeasuresFF(esriTransformDirection Direction, ref double[] inMeasures, ref double[] outMeasures)

Parameters

Direction esriTransformDirection
inMeasures double[]
outMeasures double[]

TransformMeasuresFF(esriTransformDirection, int, ref double, ref double)

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

virtual void TransformMeasuresFF(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref double outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures double
outMeasures double

TransformMeasuresFI(esriTransformDirection, ref double[], ref int[])

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

virtual void TransformMeasuresFI(esriTransformDirection Direction, ref double[] inMeasures, ref int[] outMeasures)

Parameters

Direction esriTransformDirection
inMeasures double[]
outMeasures int[]

TransformMeasuresFI(esriTransformDirection, int, ref double, ref int)

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

virtual void TransformMeasuresFI(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref int outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures double
outMeasures int

TransformMeasuresIF(esriTransformDirection, int, ref int, ref double)

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

virtual void TransformMeasuresIF(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref double outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures int
outMeasures double

TransformMeasuresIF(esriTransformDirection, ref int[], ref double[])

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

virtual void TransformMeasuresIF(esriTransformDirection Direction, ref int[] inMeasures, ref double[] outMeasures)

Parameters

Direction esriTransformDirection
inMeasures int[]
outMeasures double[]

TransformMeasuresII(esriTransformDirection, int, ref int, ref int)

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

virtual void TransformMeasuresII(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref int outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures int
outMeasures int

TransformMeasuresII(esriTransformDirection, ref int[], ref int[])

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

virtual void TransformMeasuresII(esriTransformDirection Direction, ref int[] inMeasures, ref int[] outMeasures)

Parameters

Direction esriTransformDirection
inMeasures int[]
outMeasures int[]

TransformPointsFF(esriTransformDirection, ref double[], ref double[])

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

virtual void TransformPointsFF(esriTransformDirection Direction, ref double[] inPoints, ref double[] outPoints)

Parameters

Direction esriTransformDirection
inPoints double[]
outPoints double[]

TransformPointsFF(esriTransformDirection, int, ref double, ref double)

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

virtual void TransformPointsFF(esriTransformDirection Direction, int cPoints, ref double inPoints, ref double outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints double
outPoints double

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.

[C#]

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



TransformPointsFI(esriTransformDirection, ref double[], ref int[])

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

virtual void TransformPointsFI(esriTransformDirection Direction, ref double[] inPoints, ref int[] outPoints)

Parameters

Direction esriTransformDirection
inPoints double[]
outPoints int[]

TransformPointsFI(esriTransformDirection, int, ref double, ref int)

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

virtual void TransformPointsFI(esriTransformDirection Direction, int cPoints, ref double inPoints, ref int outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints double
outPoints int

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.

TransformPointsIF(esriTransformDirection, int, ref int, ref double)

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

virtual void TransformPointsIF(esriTransformDirection Direction, int cPoints, ref int inPoints, ref double outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints int
outPoints double

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.

TransformPointsIF(esriTransformDirection, ref int[], ref double[])

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

virtual void TransformPointsIF(esriTransformDirection Direction, ref int[] inPoints, ref double[] outPoints)

Parameters

Direction esriTransformDirection
inPoints int[]
outPoints double[]

TransformPointsII(esriTransformDirection, int, ref int, ref int)

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

virtual void TransformPointsII(esriTransformDirection Direction, int cPoints, ref int inPoints, ref int outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints int
outPoints int

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.

TransformPointsII(esriTransformDirection, ref int[], ref int[])

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

virtual void TransformPointsII(esriTransformDirection Direction, ref int[] inPoints, ref int[] outPoints)

Parameters

Direction esriTransformDirection
inPoints int[]
outPoints int[]

Translate(IVector3D)

Adds an offset (move) to the transformation matrix.

virtual void Translate(IVector3D offsetVector)

Parameters

offsetVector IVector3D