Method MoveGeodetic
MoveGeodetic(IEnumerable<MapPoint>, Double, LinearUnit, Double, AngularUnit, GeodeticCurveType)
Moves each map point in the read-only collection by a geodesic distance.
Declaration
public static IReadOnlyList<MapPoint> MoveGeodetic(this IEnumerable<MapPoint> pointCollection, double distance, LinearUnit distanceUnit, double azimuth, AngularUnit azimuthUnit, GeodeticCurveType curveType)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<MapPoint> | pointCollection | The map points that need to be moved. |
System.Double | distance | The distance to move the map points. |
LinearUnit | distanceUnit | The unit of measure for distance. If |
System.Double | azimuth | The azimuth angle of the direction for the map points. |
AngularUnit | azimuthUnit | The angular unit of measure for azimuth. If |
GeodeticCurveType | curveType | The curve type to calculate. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<MapPoint> | A new read-only collection of map points moved by the given distance from the input map point collection. |
Remarks
The input collection must be of type MapPoint geometries. There must be the same SpatialReference on each map point. The returned read-only collection is in the same order as the input but with new map points at their destination locations.
Specifying a negative distance
moves points in the opposite direction from azimuth
.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |