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. |
| 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 |
|---|---|
| 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 |
|---|---|
| UWP | 100.15 |