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
- cancellationToken
- provides a way to cancel the operation
Return Value
An ElevationProfileResult. If successful, this contains the generated polyline.