public Task<ElevationProfileResult> GetElevationProfileFromSurfaceAsync( MapPoint startPoint, MapPoint endPoint, int numPoints, ElevationSurfaceLayer surfaceLayer, SurfaceZsMissingHandler missingHandler )
Public Overloads Function GetElevationProfileFromSurfaceAsync( _ ByVal startPoint As MapPoint, _ ByVal endPoint As MapPoint, _ ByVal numPoints As Integer, _ ByVal surfaceLayer As ElevationSurfaceLayer, _ ByVal missingHandler As SurfaceZsMissingHandler _ ) As Task(Of ElevationProfileResult)
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.
- surfaceLayer
- Identifies the surface to be used. If null is specified, then the default Ground Surface will be used.
- missingHandler
- provides options to handle missing Zs in the surface
Return Value
An ElevationProfileResult. If successful, this contains the generated polyline.