Class AffineTransformation3DClass
[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
srcIClone
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
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
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
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
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
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
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
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
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
DirectionesriTransformDirectioninMeasuresdouble[]outMeasuresdouble[]
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
DirectionesriTransformDirectioninMeasuresdouble[]outMeasuresint[]
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
DirectionesriTransformDirectioninMeasuresint[]outMeasuresdouble[]
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
DirectionesriTransformDirectioninMeasuresint[]outMeasuresint[]
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
DirectionesriTransformDirectioninPointsdouble[]outPointsdouble[]
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
DirectionesriTransformDirectioninPointsdouble[]outPointsint[]
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
DirectionesriTransformDirectioninPointsint[]outPointsdouble[]
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
DirectionesriTransformDirectioninPointsint[]outPointsint[]
IAffineTransformation3D_TransformMeasuresFF(esriTransformDirection, int, ref double, ref double)
virtual void IAffineTransformation3D_TransformMeasuresFF(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref double outMeasures)
Parameters
DirectionesriTransformDirectioncMeasuresintinMeasuresdoubleoutMeasuresdouble
IAffineTransformation3D_TransformMeasuresFI(esriTransformDirection, int, ref double, ref int)
virtual void IAffineTransformation3D_TransformMeasuresFI(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref int outMeasures)
Parameters
DirectionesriTransformDirectioncMeasuresintinMeasuresdoubleoutMeasuresint
IAffineTransformation3D_TransformMeasuresIF(esriTransformDirection, int, ref int, ref double)
virtual void IAffineTransformation3D_TransformMeasuresIF(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref double outMeasures)
Parameters
DirectionesriTransformDirectioncMeasuresintinMeasuresintoutMeasuresdouble
IAffineTransformation3D_TransformMeasuresII(esriTransformDirection, int, ref int, ref int)
virtual void IAffineTransformation3D_TransformMeasuresII(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref int outMeasures)
Parameters
DirectionesriTransformDirectioncMeasuresintinMeasuresintoutMeasuresint
IAffineTransformation3D_TransformPointsFF(esriTransformDirection, int, ref double, ref double)
virtual void IAffineTransformation3D_TransformPointsFF(esriTransformDirection Direction, int cPoints, ref double inPoints, ref double outPoints)
Parameters
DirectionesriTransformDirectioncPointsintinPointsdoubleoutPointsdouble
IAffineTransformation3D_TransformPointsFI(esriTransformDirection, int, ref double, ref int)
virtual void IAffineTransformation3D_TransformPointsFI(esriTransformDirection Direction, int cPoints, ref double inPoints, ref int outPoints)
Parameters
DirectionesriTransformDirectioncPointsintinPointsdoubleoutPointsint
IAffineTransformation3D_TransformPointsIF(esriTransformDirection, int, ref int, ref double)
virtual void IAffineTransformation3D_TransformPointsIF(esriTransformDirection Direction, int cPoints, ref int inPoints, ref double outPoints)
Parameters
DirectionesriTransformDirectioncPointsintinPointsintoutPointsdouble
IAffineTransformation3D_TransformPointsII(esriTransformDirection, int, ref int, ref int)
virtual void IAffineTransformation3D_TransformPointsII(esriTransformDirection Direction, int cPoints, ref int inPoints, ref int outPoints)
Parameters
DirectionesriTransformDirectioncPointsintinPointsintoutPointsint
ITransformation3D_PostMultiply(ITransformation3D)
Post-multiplies the transformation by another transformation.
virtual void ITransformation3D_PostMultiply(ITransformation3D postTransform)
Parameters
postTransformITransformation3D
ITransformation3D_PreMultiply(ITransformation3D)
Pre-multiplies the transformation by another transformation.
virtual void ITransformation3D_PreMultiply(ITransformation3D preTransform)
Parameters
preTransformITransformation3D
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
ITransformation3D_Scale(double, double, double)
Adds a scaling factor to the transformation matrix.
virtual void ITransformation3D_Scale(double sx, double sy, double sz)
Parameters
ITransformation3D_Translate(IVector3D)
Adds an offset (move) to the transformation matrix.
virtual void ITransformation3D_Translate(IVector3D offsetVector)
Parameters
offsetVectorIVector3D
InterfaceSupportsErrorInfo(ref Guid)
virtual void InterfaceSupportsErrorInfo(ref Guid riid)
Parameters
riidGuid
IsEqual(IClone)
Indicates if the receiver and other have the same properties.
virtual bool IsEqual(IClone other)
Parameters
otherIClone
Returns
IsIdentical(IClone)
Indicates if the receiver and other are the same object.
virtual bool IsIdentical(IClone other)
Parameters
otherIClone
Returns
PostMultiply(ITransformation3D)
Post-multiplies the transformation by another transformation.
virtual void PostMultiply(ITransformation3D postTransform)
Parameters
postTransformITransformation3D
PreMultiply(ITransformation3D)
Pre-multiplies the transformation by another transformation.
virtual void PreMultiply(ITransformation3D preTransform)
Parameters
preTransformITransformation3D
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
Scale(double, double, double)
Adds a scaling factor to the transformation matrix.
virtual void Scale(double sx, double sy, double sz)
Parameters
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
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
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
DirectionesriTransformDirectioninMeasuresdouble[]outMeasuresdouble[]
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
DirectionesriTransformDirectioncMeasuresintinMeasuresdoubleoutMeasuresdouble
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
DirectionesriTransformDirectioninMeasuresdouble[]outMeasuresint[]
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
DirectionesriTransformDirectioncMeasuresintinMeasuresdoubleoutMeasuresint
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
DirectionesriTransformDirectioncMeasuresintinMeasuresintoutMeasuresdouble
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
DirectionesriTransformDirectioninMeasuresint[]outMeasuresdouble[]
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
DirectionesriTransformDirectioncMeasuresintinMeasuresintoutMeasuresint
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
DirectionesriTransformDirectioninMeasuresint[]outMeasuresint[]
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
DirectionesriTransformDirectioninPointsdouble[]outPointsdouble[]
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
DirectionesriTransformDirectioncPointsintinPointsdoubleoutPointsdouble
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
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
DirectionesriTransformDirectioninPointsdouble[]outPointsint[]
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
DirectionesriTransformDirectioncPointsintinPointsdoubleoutPointsint
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
DirectionesriTransformDirectioncPointsintinPointsintoutPointsdouble
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
DirectionesriTransformDirectioninPointsint[]outPointsdouble[]
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
DirectionesriTransformDirectioncPointsintinPointsintoutPointsint
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
DirectionesriTransformDirectioninPointsint[]outPointsint[]
Translate(IVector3D)
Adds an offset (move) to the transformation matrix.
virtual void Translate(IVector3D offsetVector)
Parameters
offsetVectorIVector3D