Class CloudRoutingDistanceCostMatrixResult
A class that represents the result of CostMatrix.
[Obfuscation(Exclude = true)]
public class CloudRoutingDistanceCostMatrixResult
- Inheritance
-
CloudRoutingDistanceCostMatrixResult
- Inherited Members
Constructors
CloudRoutingDistanceCostMatrixResult()
public CloudRoutingDistanceCostMatrixResult()
Properties
Destinations
An array of waypoints, following the sequence of the supplied destination coordinates. Each waypoint is a destination coordinate snapped to the road network.
public Collection<CloudRoutingWaypoint> Destinations { get; set; }
Property Value
Distances
An array of arrays that represents the matrix in row-major order.
For example, distances[i][j] represents the travel distance from the ith source to the jth target.
All the values are expressed in the requested DistanceUnit. "-1" for N/A cases.
public float[,] Distances { get; set; }
Property Value
- float[,]
Origins
An array of waypoints, following the sequence of the supplied origin coordinates. Each waypoint is an origin coordinate snapped to the road network.
public Collection<CloudRoutingWaypoint> Origins { get; set; }