GetElevationProfileFromSurface(MapPoint,MapPoint,Int32) Method
Gets an elevation profile calculated between and . Intermediate points are calculated at equal distances between the end points according to the specified. All Z values of the calculated polyline are populated from the Ground Surface Layer. This method must be called on the MCT. Use QueuedTask.Run.
Parameters
- startPoint
- The start point.
- endPoint
- The end point.
- numPoints
- The number of points required in the resulting polyline. Note this count includes the start and end points.
There must be at least 10 points.
Return Value
An
ElevationProfileResult. If successful, this contains the generated polyline.
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.4 or higher.