public Task<ElevationProfileResult> GetElevationProfileFromSurfaceAsync( IEnumerable<Polyline> polylines, ElevationSurfaceLayer surfaceLayer, SurfaceZsMissingHandler missingHandler, CancellationToken cancellationToken )
Public Overloads Function GetElevationProfileFromSurfaceAsync( _ ByVal polylines As IEnumerable(Of Polyline), _ ByVal surfaceLayer As ElevationSurfaceLayer, _ ByVal missingHandler As SurfaceZsMissingHandler, _ ByVal cancellationToken As CancellationToken _ ) As Task(Of ElevationProfileResult)
Parameters
- polylines
- A set of polylines.
- 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
- cancellationToken
- provides a way to cancel the operation
Return Value
An ElevationProfileResult. If successful, this contains the generated polyline.