This document is archived and information here might be outdated.  Recommended version.


IAffineTransformation2D3.DefineConformalFromControlPoints Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IAffineTransformation2D3.DefineConformalFromControlPoints Method

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**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Errors Returned

A minimum of 3 points are needed.  If this condition is not met, the error E_GEOMETRY_INSUFFICIENT_CONTROLPOINTS is returned.

See Also

IAffineTransformation2D3 Interface