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


IProjectiveTransformation2D.DefineFromControlPoints Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IProjectiveTransformation2D Interface > IProjectiveTransformation2D.DefineFromControlPoints Method
ArcGIS Developer Help

IProjectiveTransformation2D.DefineFromControlPoints Method

Defines the best projective transformation between two sets of points. Can be used to register paper maps on a digitizer.

[Visual Basic .NET]
Public Sub DefineFromControlPoints ( _
    ByVal numPoints As Integer, _
    ByRef fromPoints As IPoint, _
    ByRef toPoints As IPoint _
)
[C#]
public void DefineFromControlPoints (
    int numPoints,
    ref IPoint fromPoints,
    ref IPoint toPoints
);
[C++]
HRESULT DefineFromControlPoints(
  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.

See Also

IProjectiveTransformation2D Interface