move

fun move(geometry: Geometry, deltaX: Double, deltaY: Double): Geometry

Moves the provided geometry by the specified distances along the x-axis and y-axis. Planar measurements of distance can be extremely inaccurate if using an unsuitable spatial reference. Ensure that you understand the potential for error with the geometry's spatial reference. If you need to calculate more accurate results, consider using a different spatial reference. For input geometries with a geographic spatial reference, consider projecting to an appropriate projected coordinate system before attempting to move them, as the distance represented by angular units of measure will differ depending on the geometry's location on the earth. See Spatial references[https://developers.arcgis.com/documentation/spatial-references/] for more information.

Supports true curves.

Return

A new geometry based on moving the given geometry by the given delta values.

Since

200.2.0

See also

(MutableListImpl, Double, LinearUnit, Double, AngularUnit, GeodeticCurveType)

(Geometry, Double, Point)

(Geometry, Double, Double, Point)

GeometryEditor.moveSelectedElement

(Point)