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(IEnumerable<MapPoint> pointCollection, double distance, LinearUnit distanceUnit, double azimuth, AngularUnit azimuthUnit, GeodeticCurveType curveType)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<MapPoint> | pointCollection | The map points that need to be moved. |
| Double | distance | The distance to move the map points. |
| LinearUnit | distanceUnit | The unit of measure for distance. If |
| 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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.14 |