This document is archived and information here might be outdated. Recommended version. |
Defines the best conformal affine transformation between two sets of points. Can be used to register paper maps on a digitizer.
[Visual Basic .NET] Public Sub DefineConformalFromControlPoints ( _ ByVal numPoints As Integer, _ ByRef fromPoints As IPoint, _ ByRef toPoints As IPoint _ )
[C#] public void DefineConformalFromControlPoints ( int numPoints, ref IPoint fromPoints, ref IPoint toPoints );
[C++]
HRESULT DefineConformalFromControlPoints(
long numPoints,
IPoint** fromPoints,
IPoint** toPoints
);
[C++] Parameters numPoints
numPoints is a parameter of type long fromPoints [in]
fromPoints is a parameter of type IPoint** toPoints [in]
toPoints is a parameter of type IPoint**
The DefineConformalFromControlPoints method allows defining a Conformal Transformation based on control points arrays. Please see the AffineTransformation2D coclass for a description of the mathematical model.
A minimum of 3 points are needed. If this condition is not met, the error E_GEOMETRY_INSUFFICIENT_CONTROLPOINTS is returned.