Converts an array of waypoints to a route.
| JavaScript | 
 | 
| 
 
 | |
| C# | 
 | 
| 
 
 | |
| C++ | 
 | 
| 
 
 | |
Parameters
Waypoints
An array that contains triplets of doubles. Each triplet is composed of an x-coordinate, a height, and a y-coordinate.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.