Parameters
- geometry
- The geometry to move.
- dx
- Units along the x-axis to move the geometry.
- dy
- Units along the y-axis to move the geometry.
- dz
- Units along the z-axis to move the geometry.
Return Value
The moved geometry.
Exception | Description |
---|---|
System.ArgumentNullException | Geometry is null or empty. |
System.NotImplementedException | The method is not implemented for GeometryBag. |
System.InvalidOperationException | This geometry is not Z-Aware. |
System.NotImplementedException | Spatial reference of geometryis an image coordinate system. |
MapPoint zPt = MapPointBuilder.CreateMapPoint(1.0, 3.0, 2.0); MapPoint zPtResult = GeometryEngine.Instance.Move(zPt, 4, 0.25, 0.5) as MapPoint; // zPtResult is (5.0, 3.25, 2.5);
Target Platforms: Windows 10, Windows 8.1, Windows 7