﻿ ITransformation.TransformPointsFF Method
ArcGIS Enterprise SDK
ITransformation.TransformPointsFF Method
 ArcGIS Developer Help

# ITransformation.TransformPointsFF Method

Transforms floating point points to floating point points (or do the inverse).

```[Visual Basic .NET]
Public Sub TransformPointsFF ( _
ByVal Direction As esriTransformDirection, _
ByVal cPoints As Integer, _
ByRef inPoints As Double, _
ByRef outPoints As Double _
)
```
```[C#]
public void TransformPointsFF (
esriTransformDirection Direction,
int cPoints,
ref double inPoints,
ref double outPoints
);
```

#### Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

[C#]

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.  This code is a shift of the points to the east and north.

IAffineTransformation2D transform = new AffineTransformation2D() as IAffineTransformation2D;
//Sets the type of transformation moving the values 10 degrees East and 20 degrees North
transform.Move(10, 20);
//Create two single dimensioned arrays for the inPoints and OutPoints
double[] inPoints = new double;
double[] outPoints = new double;

//Interleave the Longitude and Latitude value for two points 1.1E 5.2N, 2.3E 6.4N
inPoints=1.1; //Longitude point 1
inPoints=5.2; //Latitude point 1
inPoints=2.3; //Longitude point 2
inPoints = 6.4; //Latitude point 2

transform.TransformPointsFF(0,2,ref inPoints,ref outPoints);
Debug.Print(outPoints.ToString()); //11.1
Debug.Print(outPoints.ToString()); //25.2
Debug.Print(outPoints.ToString()); //12.3
Debug.Print(outPoints.ToString()); //26.4