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 = MapPointBuilderEx.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 11, Windows 10