Provides access to members that define and manipulate projective transformations. IProjectiveTransformation2DGEN is generic version of IProjectiveTransformation.
Members
Name | Description | |
---|---|---|
DefineFromControlPoints | Defines the best projective transformation between two sets of points. Can be used to register paper maps on a digitizer. | |
GetControlPointError | 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. | |
GetRMSError | 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. | |
Project | 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. | |
QueryTransformationParameters | Returns the eight parameters which define the two dimensional projective transformation. | |
Reset | Resets the tranformation. | |
SetTransformationParameters | Sets the eight parameters which define the two dimensional projective transformation. The size of the incoming parameter array needs to be 8. | |
SpatialReference | The spatial reference in which this transformation is meaningful. | |
TransformMeasuresFF | Transforms floating point measures to floating point measures (or do the inverse). | |
TransformMeasuresFI | Transforms floating point measures to integer measures (or do the inverse). | |
TransformMeasuresIF | Transforms integer measures to floating point measures (or do the inverse). | |
TransformMeasuresII | Transforms integer measures to integer measures (or do the inverse). | |
TransformPointsFF | Transforms floating point points to floating point points (or do the inverse). | |
TransformPointsFI | Transforms floating point points to integer points (or do the inverse). | |
TransformPointsIF | Transforms integer points to floating point points (or do the inverse). | |
TransformPointsII | Transforms integer points to integer points (or do the inverse). |
IProjectiveTransformation2DGEN.DefineFromControlPoints Method
Defines the best projective transformation between two sets of points. Can be used to register paper maps on a digitizer.
Public Sub DefineFromControlPoints ( _
ByRef fromPoints As IPoint[], _
ByRef toPoints As IPoint[] _
)
public void DefineFromControlPoints (
ref IPoint[] fromPoints,
ref IPoint[] toPoints
);
IProjectiveTransformation2DGEN.GetControlPointError Method
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.
Public Sub GetControlPointError ( _
ByVal i As Integer, _
ByRef fromError As Double, _
ByRef toError As Double _
)
public void GetControlPointError (
int i,
ref double fromError,
ref double toError
);
IProjectiveTransformation2DGEN.GetRMSError Method
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.
Public Sub GetRMSError ( _
ByRef fromError As Double, _
ByRef toError As Double _
)
public void GetRMSError (
ref double fromError,
ref double toError
);
IProjectiveTransformation2DGEN.Project Method
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.
Public Sub Project ( _
ByVal newSpatialReference As ISpatialReference _
)
public void Project (
ISpatialReference newSpatialReference
);
IProjectiveTransformation2DGEN.QueryTransformationParameters Method
Returns the eight parameters which define the two dimensional projective transformation.
Public Sub QueryTransformationParameters ( _
ByVal Direction As esriTransformDirection, _
ByRef params As Double[]& _
)
public void QueryTransformationParameters (
esriTransformDirection Direction,
ref Double[]& params
);
IProjectiveTransformation2DGEN.Reset Method
Resets the tranformation.
Public Sub Reset ( _
)
public void Reset (
);
IProjectiveTransformation2DGEN.SetTransformationParameters Method
Sets the eight parameters which define the two dimensional projective transformation. The size of the incoming parameter array needs to be 8.
Public Sub SetTransformationParameters ( _
ByVal Direction As esriTransformDirection, _
ByRef params As Double[]& _
)
public void SetTransformationParameters (
esriTransformDirection Direction,
ref Double[]& params
);
IProjectiveTransformation2DGEN.SpatialReference Property
The spatial reference in which this transformation is meaningful.
Public Property SpatialReference As ISpatialReference
public ISpatialReference SpatialReference {get; set;}
IProjectiveTransformation2DGEN.TransformMeasuresFF Method
Transforms floating point measures to floating point measures (or do the inverse).
Public Sub TransformMeasuresFF ( _
ByVal Direction As esriTransformDirection, _
ByRef inMeasures As Double[]&, _
ByRef outMeasures As Double[]& _
)
public void TransformMeasuresFF (
esriTransformDirection Direction,
ref Double[]& inMeasures,
ref Double[]& outMeasures
);
IProjectiveTransformation2DGEN.TransformMeasuresFI Method
Transforms floating point measures to integer measures (or do the inverse).
Public Sub TransformMeasuresFI ( _
ByVal Direction As esriTransformDirection, _
ByRef inMeasures As Double[]&, _
ByRef outMeasures As Int32[]& _
)
public void TransformMeasuresFI (
esriTransformDirection Direction,
ref Double[]& inMeasures,
ref Int32[]& outMeasures
);
IProjectiveTransformation2DGEN.TransformMeasuresIF Method
Transforms integer measures to floating point measures (or do the inverse).
Public Sub TransformMeasuresIF ( _
ByVal Direction As esriTransformDirection, _
ByRef inMeasures As Int32[]&, _
ByRef outMeasures As Double[]& _
)
public void TransformMeasuresIF (
esriTransformDirection Direction,
ref Int32[]& inMeasures,
ref Double[]& outMeasures
);
IProjectiveTransformation2DGEN.TransformMeasuresII Method
Transforms integer measures to integer measures (or do the inverse).
Public Sub TransformMeasuresII ( _
ByVal Direction As esriTransformDirection, _
ByRef inMeasures As Int32[]&, _
ByRef outMeasures As Int32[]& _
)
public void TransformMeasuresII (
esriTransformDirection Direction,
ref Int32[]& inMeasures,
ref Int32[]& outMeasures
);
IProjectiveTransformation2DGEN.TransformPointsFF Method
Transforms floating point points to floating point points (or do the inverse).
Public Sub TransformPointsFF ( _
ByVal Direction As esriTransformDirection, _
ByRef inPoints As Double[]&, _
ByRef outPoints As Double[]& _
)
public void TransformPointsFF (
esriTransformDirection Direction,
ref Double[]& inPoints,
ref Double[]& outPoints
);
IProjectiveTransformation2DGEN.TransformPointsFI Method
Transforms floating point points to integer points (or do the inverse).
Public Sub TransformPointsFI ( _
ByVal Direction As esriTransformDirection, _
ByRef inPoints As Double[]&, _
ByRef outPoints As Int32[]& _
)
public void TransformPointsFI (
esriTransformDirection Direction,
ref Double[]& inPoints,
ref Int32[]& outPoints
);
IProjectiveTransformation2DGEN.TransformPointsIF Method
Transforms integer points to floating point points (or do the inverse).
Public Sub TransformPointsIF ( _
ByVal Direction As esriTransformDirection, _
ByRef inPoints As Int32[]&, _
ByRef outPoints As Double[]& _
)
public void TransformPointsIF (
esriTransformDirection Direction,
ref Int32[]& inPoints,
ref Double[]& outPoints
);
IProjectiveTransformation2DGEN.TransformPointsII Method
Transforms integer points to integer points (or do the inverse).
Public Sub TransformPointsII ( _
ByVal Direction As esriTransformDirection, _
ByRef inPoints As Int32[]&, _
ByRef outPoints As Int32[]& _
)
public void TransformPointsII (
esriTransformDirection Direction,
ref Int32[]& inPoints,
ref Int32[]& outPoints
);
Classes that implement IProjectiveTransformation2DGEN
Classes | Description |
---|---|
ProjectiveTransformation2D | A two dimensional projective transformation. |