Compute the combined scale factor using two points and using a z elevation at the mid-point between them.
public static Task<double> ComputeCombinedScaleFactor(
Map ,
double ,
double ,
double ,
double ,
double
)
Public Shared Function ComputeCombinedScaleFactor( _
ByVal As Map, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double _
) As Task(Of Double)
Parameters
- map
- The map used to calculate the combined scale factor.
- x1
- The x coordinate of the first point.
- y1
- The y coordinate of the first point.
- x2
- The x coordinate of the second point.
- y2
- The y coordinate of the second point.
- z
- The z coordinate.
Return Value
A Task returning the calculated combined scale factor.
Target Platforms: Windows 10, Windows 8.1, Windows 7