Class GeoTransformationClass
[Guid("843C4D40-BD7E-4542-A126-24AEBA43AF20")]
[ClassInterface(ClassInterfaceType.None)]
public class GeoTransformationClass : GeoTransformation, ITransformationGEN, ITransformation, IClone, IPersistStream, IPersist, ISupportErrorInfo, ISpatialReferenceAuthority
- Inheritance
-
GeoTransformationClass
- Implements
- Inherited Members
Constructors
GeoTransformationClass()
public GeoTransformationClass()
Explicit Interface Implementations
Assign(IClone)
Assigns the properties of src to the receiver.
virtual void Assign(IClone src)
Parameters
srcIClone
AuthorityName
The name of the defining authority for this object.
virtual string AuthorityName { get; }
Returns
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
Code
The code identifying this object relative to its authority. For the EPSG authority, this will initially be the WKID (factory code).
virtual int Code { get; }
Returns
Define(string, int, string)
Defines the authority-related metadata properties for this spatial reference object.
virtual void Define(string AuthorityName, int authorityCode, string authorityVersion)
Parameters
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
IPersistStream_GetClassID(out Guid)
virtual void IPersistStream_GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
InterfaceSupportsErrorInfo(ref Guid)
virtual void InterfaceSupportsErrorInfo(ref Guid riid)
Parameters
riidGuid
IsDirty()
virtual void IsDirty()
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
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
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[]
Version
The version of this spatial reference object.
virtual string Version { get; }