public ElevationProfileResult GetElevationProfileFromSurface( MapPoint startPoint, MapPoint endPoint, int numPoints, ElevationSurfaceLayer surfaceLayer )
Public Overloads Function GetElevationProfileFromSurface( _ ByVal startPoint As MapPoint, _ ByVal endPoint As MapPoint, _ ByVal numPoints As Integer, _ ByVal surfaceLayer As ElevationSurfaceLayer _ ) As 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. There must be at least 10 points.
- surfaceLayer
- Identifies the surface to be used. If null is specified, then the default Ground Surface will be used.
Return Value
An ElevationProfileResult. If successful, this contains the generated polyline.