Show / Hide Table of Contents

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 null, meters are assumed.

System.Double azimuth

The azimuth angle of the direction for the map points.

AngularUnit azimuthUnit

The angular unit of measure for azimuth. If null, degrees are assumed.

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
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.