Interface IProjectiveTransformation2DGEN

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

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

ISpatialReference

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

fromPoints IPoint[]
toPoints IPoint[]

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

i int
fromError double
toError double

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

fromError double
toError double

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

newSpatialReference ISpatialReference

QueryTransformationParameters(esriTransformDirection, ref double[])

Returns the eight parameters which define the two dimensional projective transformation.

void QueryTransformationParameters(esriTransformDirection Direction, ref double[] @params)

Parameters

Direction esriTransformDirection
params double[]

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

Direction esriTransformDirection
params double[]

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

Direction esriTransformDirection
inMeasures double[]
outMeasures double[]

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

Direction esriTransformDirection
inMeasures double[]
outMeasures int[]

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

Direction esriTransformDirection
inMeasures int[]
outMeasures double[]

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

Direction esriTransformDirection
inMeasures int[]
outMeasures int[]

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

Direction esriTransformDirection
inPoints double[]
outPoints double[]

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

Direction esriTransformDirection
inPoints double[]
outPoints int[]

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

Direction esriTransformDirection
inPoints int[]
outPoints double[]

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

Direction esriTransformDirection
inPoints int[]
outPoints int[]