Interface IProjectiveTransformation2DGEN
Provides access to members that define and manipulate projective transformations. IProjectiveTransformation2DGEN is generic version of IProjectiveTransformation.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("C7A467A9-0374-4F1A-9CBD-7156FE7DACB9")]
public interface IProjectiveTransformation2DGEN
Properties
SpatialReference
The spatial reference in which this transformation is meaningful.
ISpatialReference SpatialReference { get; set; }
Property Value
Methods
DefineFromControlPoints(ref IPoint[], ref IPoint[])
Defines the best projective transformation between two sets of points. Can be used to register paper maps on a digitizer.
void DefineFromControlPoints(ref IPoint[] fromPoints, ref IPoint[] toPoints)
Parameters
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.
void GetControlPointError(int i, ref double fromError, ref double toError)
Parameters
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.
void GetRMSError(ref double fromError, ref double toError)
Parameters
Project(ISpatialReference)
Moves this transformation into another spatial reference. If the transformations contains only translations, then use the MoveOrigin property to define an equivalent translation in the new spatial reference.
void Project(ISpatialReference newSpatialReference)
Parameters
newSpatialReferenceISpatialReference
QueryTransformationParameters(esriTransformDirection, ref double[])
Returns the eight parameters which define the two dimensional projective transformation.
void QueryTransformationParameters(esriTransformDirection Direction, ref double[] @params)
Parameters
DirectionesriTransformDirectionparamsdouble[]
Reset()
Resets the tranformation.
void Reset()
SetTransformationParameters(esriTransformDirection, ref double[])
Sets the eight parameters which define the two dimensional projective transformation. The size of the incoming parameter array needs to be 8.
void SetTransformationParameters(esriTransformDirection Direction, ref double[] @params)
Parameters
DirectionesriTransformDirectionparamsdouble[]
TransformMeasuresFF(esriTransformDirection, ref double[], ref double[])
Transforms floating point measures to floating point measures (or do the inverse).
void TransformMeasuresFF(esriTransformDirection Direction, ref double[] inMeasures, ref double[] outMeasures)
Parameters
DirectionesriTransformDirectioninMeasuresdouble[]outMeasuresdouble[]
TransformMeasuresFI(esriTransformDirection, ref double[], ref int[])
Transforms floating point measures to integer measures (or do the inverse).
void TransformMeasuresFI(esriTransformDirection Direction, ref double[] inMeasures, ref int[] outMeasures)
Parameters
DirectionesriTransformDirectioninMeasuresdouble[]outMeasuresint[]
TransformMeasuresIF(esriTransformDirection, ref int[], ref double[])
Transforms integer measures to floating point measures (or do the inverse).
void TransformMeasuresIF(esriTransformDirection Direction, ref int[] inMeasures, ref double[] outMeasures)
Parameters
DirectionesriTransformDirectioninMeasuresint[]outMeasuresdouble[]
TransformMeasuresII(esriTransformDirection, ref int[], ref int[])
Transforms integer measures to integer measures (or do the inverse).
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).
void TransformPointsFF(esriTransformDirection Direction, ref double[] inPoints, ref double[] outPoints)
Parameters
DirectionesriTransformDirectioninPointsdouble[]outPointsdouble[]
TransformPointsFI(esriTransformDirection, ref double[], ref int[])
Transforms floating point points to integer points (or do the inverse).
void TransformPointsFI(esriTransformDirection Direction, ref double[] inPoints, ref int[] outPoints)
Parameters
DirectionesriTransformDirectioninPointsdouble[]outPointsint[]
TransformPointsIF(esriTransformDirection, ref int[], ref double[])
Transforms integer points to floating point points (or do the inverse).
void TransformPointsIF(esriTransformDirection Direction, ref int[] inPoints, ref double[] outPoints)
Parameters
DirectionesriTransformDirectioninPointsint[]outPointsdouble[]
TransformPointsII(esriTransformDirection, ref int[], ref int[])
Transforms integer points to integer points (or do the inverse).
void TransformPointsII(esriTransformDirection Direction, ref int[] inPoints, ref int[] outPoints)
Parameters
DirectionesriTransformDirectioninPointsint[]outPointsint[]